Sample of socket.io