fix websocket for windows