ssl.setKeystoreService(ks);
ssl.setMasterService(ms);
ssl.init(config, options);
services.put(SSL_SERVICE, ssl);
DefaultServiceRegistryService sr = new DefaultServiceRegistryService();
sr.setCryptoService( crypto );
sr.init( config, options );
services.put( SERVICE_REGISTRY_SERVICE, sr );
DefaultHostMapperService hm = new DefaultHostMapperService();
hm.init( config, options );
services.put( HOST_MAPPING_SERVICE, hm );