Serial communication through websocket