A chat client using socket.io in Node.js