Boolean allowCircularRedirects,
int connTimeout, int socketTimeout,
String cookiePolicy, SSLContext sslContext,
X509HostnameVerifier hostnameVerifier)
{
HttpParams httpParams = new BasicHttpParams();
SchemeRegistry registry = new SchemeRegistry();
registry.register(new Scheme("http", PlainSocketFactory.getSocketFactory(), 80));
SSLSocketFactory sslSocketFactory;