simple client and server chatroom application using node.js