final ClientConfig clientConfig = createClientConfig(config,
jacksonJsonProvider, httpParams, clientConnectionManager);
final Connector connector = new ApacheConnector(clientConfig);
clientConfig.connector(connector);
clientConfig.register(new CsrfProtectionFilter(
"DiscoveryDNS Reseller API Client"));
final ClientBuilder clientBuilder = ClientBuilder.newBuilder();
clientBuilder.withConfig(clientConfig);
return clientBuilder.build();