this (headers, null, null);
}
public ClientWrapper(final Map<String, String> headers, String userName, String password) {
realClient = JerseyClientFactory.newClient();
realClient.configuration().register(new MultiPartFeature());
realClient.configuration().register(new JettisonFeature());
realClient.configuration().register(new CsrfProtectionFilter());
if ((userName != null) && (password != null)) {
realClient.configuration().register(new HttpBasicAuthFilter(userName, password));
}