Updated WebSocket check.
Updated...