the WebSocket handshake failed because some detail was invalid (eg, incorrect accept key).
the WebSocket handshake failed because the "Origin" header was not an allowed value.
a generic error
attempted to handshake with a server that does not appear to understand WebSockets.
WebSocket-related errors.