anchor.diff:  	 send_result/6, make_answerheader/1, add_record_route/1,
   	 add_record_route/3, myhostname/0, default_port/1,
   	 get_loop_cookie/2, generate_branch/0, url_to_dstlist/2,
  -	 make_response/7]).
  +	 make_response/7, rewrite_route/2, make_base64_md5_token/1]).
   
   -include("sipsocket.hrl").
   
  
positive.code: 			_ ->
  			    transactionlayer:store_stateless_response_branch(SrvTHandler, Branch, Method)
  		    end,
  		    NewBranch = case LoopCookie of
  			none -> Branch;
  			_ -> Branch ++ "-o" ++ LoopCookie
  		    end,
  		    logger:log(debug, "Siprequest: Added statelessly generated branch ~p to request",
  				[NewBranch]),
  		    Param2 = dict:store("branch", NewBranch, ParamDict),
  	    	    sipheader:dict_to_param(Param2)
  	    end;
  	{ok, Branch} when LoopCookie /= none ->
  	    logger:log(debug, "Siprequest: Added loop cookie ~p to branch of request",
  				[LoopCookie]),
  	    Param2 = dict:append("branch", "-o" ++ LoopCookie, ParamDict),
  	    sipheader:dict_to_param(Param2);
  	{ok, Branch} ->
  	    % Request has a branch, and loop detection is off (or get_loop_cookie() returned 'none').
  
negative.code: 			[DefaultSocket]),
  	    case sipsocket:get_socket(sipsocket:via2sipsocketprotocol(Protocol), SendToHost,
  					   PortInt) of
  		{error, E1} ->
  		    {error, E1};
  		none ->
  		    {error, "no socket provided and get_socket() returned 'none'"};
  		S when record(S, sipsocket) ->
  