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.