Chat based on socket.io library