auto generate for socket.io
implement socket.io sample