MostAwesomeDude/txWS — pull request #18 by scollinson (2013-10-08 09:53:45+00:00)
Title: add origin, location, protocol and accept headers to HyBi-07 preamble

When connecting to a txWS via chome, I get the following error:

Error during WebSocket handshake: Sec-WebSocket-Protocol mismatch

This appears to be because the Sec-WebSocket-Protocol header is not sent in the server response. This pull request fixes that, plus adds origin, location and accept headers.