anchor.diff:  					end,
   					headers_frame(State, StreamID, Req)
   			catch _:_ ->
  -				malformed_request(State, StreamID,
  -					'The :path pseudo-header is invalid. (RFC7540 8.1.2.3)')
  +				stream_reset(State, StreamID, {stream_error, protocol_error,
  +					'The :path pseudo-header is invalid. (RFC7540 8.1.2.3)'})
   			end
   	catch _:_ ->
  -		malformed_request(State, StreamID,
  -			'The :authority pseudo-header is invalid. (RFC7540 8.1.2.3)')
  +		stream_reset(State, StreamID, {stream_error, protocol_error,
  +			'The :authority pseudo-header is invalid. (RFC7540 8.1.2.3)'})
   	end.
   
   ensure_port(<<"http">>, undefined) -> 80;
  
positive.code: 			Port = ensure_port(Scheme, Port0),
  			try cow_http:parse_fullpath(PathWithQs) of
  				{<<>>, _} ->
  					malformed_request(State, StreamID,
  						'The path component must not be empty. (RFC7540 8.1.2.3)');
  				{Path, Qs} ->
  					Req0 = #{
  						ref => Ref,
  
negative.code: 			Acc0#{Name => Value}
  	end,
  	headers_to_map(Tail, Acc).
  
  headers_frame(State=#state{opts=Opts, streams=Streams}, StreamID, Req) ->
  	try cowboy_stream:init(StreamID, Req, Opts) of
  