web2serial websocket handler