websocket relay bug fix