public static void main(String[] args) throws Exception {
System.err.println("runServer...");
TlsNioConfig cfg = new TlsNioConfig();
cfg.setNioLogger(new NioLogger("ALL"));
cfg.setListenAddress("127.0.0.1");
cfg.setListenPort(2222);
cfg.setReuseAddress(true);