Telnet chat server using node.js