Websocket headers test

Fix #547 Added support for accesing headers to WebSocket handshake, added tests to verify that headers are passed