check_http2: better error messages in errors, such as infinite loop