#547 Add support for accesing headers to WebSocket handshake