An enhanced version of the socket.io chat example