public HttpUrlConnector(JMXServiceURL serviceUrl, Map environment) {
super(serviceUrl, environment);
hv = (HostnameVerifier)environment.get(
DefaultConfiguration.HOSTNAME_VERIFIER_PROPERTY_NAME);
if (hv == null)
hv = new SunOneBasicHostNameVerifier(serviceUrl.getHost());
//fetching any custom SSLSocketFactory passed through environment
ssf = (SSLSocketFactory)environment.get(
DefaultConfiguration.SSL_SOCKET_FACTORY);