Realtime chat system with Node.js and the socket.io library