A simple chat client example using socket.io