public static void main(String[] args) throws Exception {
List params = Arrays.asList(args);
echo = params.contains("-echo");
handler = echo ? (SessionHandler) new EchoHandler()
: new CachedFileHandler();
sslc = params.contains("-secure") ? getSSLcontext() : null;
SessionAcceptor acceptor = SessionFactory
.createSessionAcceptor(SessionType.TCP);