this.hostname = hostname; this.port = port; this.secure = secure; this.connectionTimeout = connectionTimeout; this.timeout = timeout; majorVersion = minorVersion = 1; handshakeCompletedListeners = new ArrayList(2);
this(hostname, HTTP_PORT, false, 0, 0);
  public HTTPConnection(String hostname, int port, boolean secure,                        int connectionTimeout, int timeout)  {    this.hostname = hostname;    this.port = port;    this.secure = secure;    this.connectionTimeout = connectionTimeout;    this.timeout = timeout;    majorVersion = minorVersion = 1;    handshakeCompletedListeners = new ArrayList(2);  }