ioReactor = new DefaultListeningIOReactor(nbThreads, threadFactory, params);
final IOEventDispatch ioEventDispatch;
if ("https".equals(getEndpoint().getProtocol())) {
SSLContext sslContext = null; // TODO
ioEventDispatch = new SSLServerIOEventDispatch(new MyHandler(params), sslContext, params);
} else {
ioEventDispatch = new DefaultServerIOEventDispatch(new MyHandler(params), params);
}
runner = new Thread() {
public void run() {