add chat client based on socket.io