Fix websocket.WebSocket - Immediate close test for IE10