Test whether WebSocket handshake fails if the server sends incorrect Sec-WebSocket-Accept header.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS onerror() was called
PASS closeEvent.wasClean is false
PASS successfullyParsed is true
TEST COMPLETE