Simple chat server using telnet in node