anchor.diff:  
   %% Internal.
   -export([init/4]).
  --export([parse_request/1]).
  +-export([parse_request/2]).
   -export([handler_loop/3]).
   
   -type onrequest_fun() :: fun((Req) -> Req).
  
positive.code: 	URLDecDefault = {fun cowboy_http:urldecode/2, crash},
  	URLDec = get_value(urldecode, Opts, URLDecDefault),
  	ok = ranch:accept_ack(ListenerPid),
  	wait_request(#state{listener=ListenerPid, socket=Socket,
  		transport=Transport, dispatch=Dispatch,
  		max_empty_lines=MaxEmptyLines, max_keepalive=MaxKeepalive,
  		max_request_line_length=MaxRequestLineLength,
  
negative.code: 			onrequest(
  				cowboy_req:set_buffer(Buffer,
  					cowboy_req:set_host(<<>>, Port, <<>>, Req2)),
  				State)
  	end;
  header_end(Buffer, State, Req) ->
  	onrequest(cowboy_req:set_buffer(Buffer, Req), State).
  
  %% Call the global onrequest callback. The callback can send a reply,
  %% in which case we consider the request handled and move on to the next
  