if (httpListenerName.equals(ADMIN_LISTENER)){
if (httpListConfig.getSecurityEnabled()){
if (httpListConfig.existsProperty(PROXIED_PROTOCOLS))
httpListConfig.setPropertyValue(PROXIED_PROTOCOLS, PROXIED_PROTOCOLS_VALUE);
else
httpListConfig.createProperty(PROXIED_PROTOCOLS, PROXIED_PROTOCOLS_VALUE);
}else{
if (httpListConfig.existsProperty(PROXIED_PROTOCOLS))
httpListConfig.removeProperty(PROXIED_PROTOCOLS);
}
}