websocket: process the frame as soon as we read data
Otherwise we can enter in a read loop because we were not validating the data until the all the data was read.
Fixes #391 (closed)
Otherwise we can enter in a read loop because we were not validating the data until the all the data was read.
Fixes #391 (closed)