public NioServer(SSLContext sslContext) throws IOException {
		setName(getClass().getSimpleName());
		setDaemon(true);
		mSSLContext = sslContext;
		mSelector = SelectorProvider.provider().openSelector();
		int count = Runtime.getRuntime().availableProcessors() + 1;
		for (int i = 0; i < count; i++) {
			NioWorker worker = new NioWorker(mQueue);
			worker.start();
			mWorkers.add(worker);
		}
		mTimeoutMonitor = new TimeoutMonitor(TimeUnit.MILLISECONDS.convert(2, TimeUnit.MINUTES));
		mTimeoutMonitor.start();
	}