Expose websocket protocol_version and origin attributes
Process data leftover after handshake