fix extracting binary data from websocket frame