// Set some adapter properties
proxyAdapter.setAllowLaxSSL(true);
int maxTotal = 100;
int defaultMaxConnsPerHost = 2;
HTTPConnectionManagerSettings connectionParams = new HTTPConnectionManagerSettings();
connectionParams.setMaxTotalConnections(maxTotal);
connectionParams.setDefaultMaxConnectionsPerHost(defaultMaxConnsPerHost);
proxyAdapter.setConnectionManagerSettings(connectionParams);
}