aaugustin/websockets — pull request #12 by maximesteisel (2014-02-16 09:30:22+00:00)
Title: Set headers property on WebSocketServerProtocol

Having access to headers from ws_handler is handy to do Origin filtering.

It seems logical to put it in the protocol since there is only one handshake per connection, and the handshake is guaranteed to be finished before calling ws_handler()