a simple chat client written in nodejs using socket.io