Receives a websocket frame from a byte input stream.
The stream to receive from.
The frame that was received.
Receives a websocket frame from a byte input stream.