https://tools.ietf.org/html/rfc6455
https://tools.ietf.org/html/rfc6455#section-5.4
Upgrade Request/Response with raw bytes to WebSocket protocol and insert handshake headers. Fragments will be merged to single frames.