} catch (IOException e) {
log.error("Error starting the IOReactor", e);
}
NHttpServiceHandler handler = new ServerHandler(cfgCtx, params, sslContext != null);
IOEventDispatch ioEventDispatch = getEventDispatch(
handler, sslContext, sslIOSessionHandler, params);
try {
ioReactor.listen(new InetSocketAddress(port));
ioReactor.execute(ioEventDispatch);