private long sslHandshakeTimeout = 30000;
public HttpsConnector(MuleContext context)
{
super(context);
setSocketFactory(new SslSocketFactory(tls));
setServerSocketFactory(new SslServerSocketFactory(tls));
// setting this true causes problems as socket closes before handshake finishes
setValidateConnections(false);
}