moved createServer to after declaration of clientConnectionHandler, that made it print "new connection" and something with unhandled errors when connecting with telnet, instead of showing nothing