public HttpClient createHttpClient() {
HttpParams defaultParameters = new BasicHttpParams();
//defaultParameters.setIntParameter(HttpConnectionManagerParams.MAX_TOTAL_CONNECTIONS, 10);
ConnManagerParams.setMaxTotalConnections(defaultParameters, 1024);
ConnPerRoute connPerRoute = new ConnPerRouteBean(256);
ConnManagerParams.setMaxConnectionsPerRoute(defaultParameters, connPerRoute);
HttpProtocolParams.setContentCharset(defaultParameters, HTTP.UTF_8);
HttpConnectionParams.setConnectionTimeout(defaultParameters, 60000);
HttpConnectionParams.setSoTimeout(defaultParameters, 60000);