Created by: s-arash
In creating web socket clients, if the handshake failed, the failure wouldn't be reported to the callback (it would be called with a null Exception parameter, and a null WebSocket paramter). Fixed that issue and created a test for it.