proxyServerSelector = ProxyServerSelector.NO_PROXY_SELECTOR;
if (acceptAnyCertificate)
hostnameVerifier = null;
else if (hostnameVerifier == null)
hostnameVerifier = new DefaultHostnameVerifier();
return new AsyncHttpClientConfig(connectTimeout,//
maxConnections,//
maxConnectionsPerHost,//
requestTimeout,//