critical bug fix in websocket frame parser