parse_web_socket_frame: use $wsbuf_ref directly, so that we really consume data