sample chat with socket.io