ServerConfig serverConfig = new ServerConfig(PropertyUtils.getProperties("server.properties"));
engine.setServerConfig(serverConfig);
//ServerSocket socket = engine.createSecureServerSocket(8080);
//socket.close();
SSLContextCreator sslContextCreator = new SSLContextCreator(serverConfig);
engine.setSSLContextCreator(sslContextCreator);
//socket = engine.createSecureServerSocket(8080);
//socket.close();
}