*/
public ClientWrapper(final Map<String, String> headers) {
realClient = JerseyClientFactory.newClient(new ClientConfig().
binders(new MultiPartClientBinder(), new JettisonBinder()));
realClient.configuration().register(new CsrfProtectionFilter());
realClient.configuration().register(new ClientRequestFilter() {
@Override
public void filter(ClientRequestContext rc) throws IOException {
for (Map.Entry<String, String> entry : headers.entrySet()) {
rc.getHeaders().add(entry.getKey(), entry.getValue());