Client Code to Determine WebSocket Support in a Browser