websocket tweaking