A server based on websocket