/** Sets the HttpAddress for the given Map and JMXServiceURL */
private static HttpConnectorAddress env2HttpAddress(Map env, JMXServiceURL serviceUrl) {
/* BEGIN -- S1WS_MOD */
final HttpConnectorAddress ad = new HttpConnectorAddress(serviceUrl.getHost(), serviceUrl.getPort(), isHttps(serviceUrl), serviceUrl.getURLPath());
/* END -- S1WS_MOD */
ad.setAuthenticationInfo(env2AuthenticationInfo(env));
return ( ad );
}