Connection should fail immediately, rather than succeeding or staying in limbo until timeout, if handshake is longer than 1024 bytes.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS onerror() was called
PASS timedOut is false
PASS connected is false
PASS wsOrigin is undefined.
PASS successfullyParsed is true
TEST COMPLETE