public ProxyConfig(){
  type=null;
  host=null;
  port=-1;
  hostAndPort=null;
  user=null;
  password=null;
  expectContinue=false;
  nonProxyHosts=Collections.emptySet();
}

public ProxyConfig ( ) { type = null ; host = null ; port = - 1 ; hostAndPort = null ; user = null ; password = null ; expectContinue = false ; nonProxyHosts = Collections . emptySet ( ) ; }
creates a direct connection ( no proxy ) .
