// configure the IO reactor on the specified port
HttpParams params = listenerContext.getParams();
try {
String prefix = (sslContext == null ? "http" : "https") + "-Listener I/O dispatcher";
ioReactor = new DefaultListeningIOReactor(
NHttpConfiguration.getInstance().getServerIOWorkers(),
new NativeThreadFactory(new ThreadGroup(prefix + " thread group"), prefix), params);
ioReactor.setExceptionHandler(new IOReactorExceptionHandler() {
public boolean handle(IOException ioException) {