this.proxy = new SimpleProxy();
this.httpclient.getHostConfiguration().setProxy(
this.proxy.getLocalAddress(),
this.proxy.getLocalPort());
SimpleSocketFactory serversocketfactory = null;
Protocol testhttp = null;
if (this.usessl) {
serversocketfactory = new SimpleSSLSocketFactory();
testhttp = new Protocol("https",
(ProtocolSocketFactory)new SimpleSSLTestProtocolSocketFactory(), 443);