anchor.diff:      case Location of
   	none ->
   	    logger:log(normal, "~s: incomingproxy: 404 Not found", [LogTag]),
  -	    transactionlayer:send_response_request(Request, 404, "Not Found");
  +	    transactionlayer:send_response_handler(THandler, 404, "Not Found");
   	{error, Errorcode} ->
   	    logger:log(normal, "~s: incomingproxy: Error ~p", [LogTag, Errorcode]),
  -	    transactionlayer:send_response_request(Request, Errorcode, "Unknown code");
  +	    transactionlayer:send_response_handler(THandler, Errorcode, "Unknown code");
   	{response, Returncode, Text} ->
   	    logger:log(normal, "~s: incomingproxy: Response ~p ~s", [LogTag, Returncode, Text]),
  -	    transactionlayer:send_response_request(Request, Returncode, Text);
  +	    transactionlayer:send_response_handler(THandler, Returncode, Text);
   	{proxy, Loc} ->
   	    logger:log(normal, "~s: incomingproxy: Proxy ~s -> ~s", [LogTag, Method, sipurl:print(Loc)]),
   	    proxy_request(THandler, Request, Loc, []);
  
positive.code: % call verify_homedomain_user() to make sure the user is
  % authorized and authenticated to use this From: address
  request(Method, URL, Header, Body, Socket, FromIP) ->
      {_, FromURI} = sipheader:from(keylist:fetch("From", Header)),
      {User, Pass, Host, Port, Parameters} = FromURI,
      case local:homedomain(Host) of
  	true ->
  	    LogStr = sipserver:make_logstr({request, Method, URL, Header, Body}, FromIP),
  	    Request = {Method, URL, Header, Body},
  	    case verify_homedomain_user(Socket, Request, LogStr) of
  		true ->
  		    do_request({Method, URL, Header, Body}, Socket, FromIP);
  		false ->
  		    logger:log(normal, "~s -> 403 Forbidden", [LogStr]),
  		    transactionlayer:send_response_request(Request, 403, "Forbidden")
  	    end;
  	_ ->
  	    do_request({Method, URL, Header, Body}, Socket, FromIP)
      end.
  
  verify_homedomain_user(Socket, Request, LogStr) ->
  
negative.code: 		    end,
  		    logger:log(Prio, "~s -> Request from unauthorized homedomain user, sending challenge",
  		    		[LogStr]),
  		    ExtraHeaders = [{"Proxy-Authenticate", sipheader:auth_print(sipauth:get_challenge(), false)}],
  		    transactionlayer:send_response_request(Request, 407, "Proxy Authentication Required", ExtraHeaders);
  		Unknown ->
  		    logger:log(error, "request: Unknown result from local:get_user_verified_proxy() :~n~p", [Unknown]),
  		    transactionlayer:send_response_request(Request, 500, "Server Internal Error")
  