fixed #1647: [WebSocket] Fixing compilation errors on win32.