A study for socket.io chatroom