A simple chatroom server in Node.js