jeremyong/websocket_client — pull request #32 by edgurgel (2014-03-30 04:20:43+00:00)
Title: Catch handshake error

* Fix application start up on test suite;
* Catch handshake error and raise `{Status, Message}`;
* Add test for error before switching protocol.

Can you give me some feedback here? I moved the `init_ack(ok, self())` after successful handshake. Is it correct?

This should close #28