An example of a real-time chat client in Node.js