add origin, location, protocol and accept headers to HyBi-07 preamble
remove non RFC 6455 headers
write the Sec-WebSocket-Protocol header conditionally (if codec is set)
Merge pull request #18 from scollinson/master

add origin, location, protocol and accept headers to HyBi-07 preamble