anchor.diff:  %% Function: address_to_address_and_proto(Addr, DefaultProto)
   %%           Addr = term(), something (probably a string()) that is
   %%                  parseable by inet_parse:ipv{4,6}_address()
  +%%           DefaultProto = atom(), tcp | udp | tls
   %% Descrip.: When looking at Via headers, we often have a protocol
   %%           from the SIP/2.0/FOO but we need to look at the
   %%           address to determine if our sipdst proto should be
  
positive.code: 		    logger:log(debug, "Warning: ~p has no SRV records in DNS, and the message size" ++
  			       "is > 1200 bytes. Resolving hostname and trying TCP and then UDP.",
  			       [URL#sipurl.host]),
  		    lists:append(TCP, UDP);
  		false ->
  		    logger:log(debug, "Warning: ~p has no SRV records in DNS. Resolving hostname " ++
  			       "and defaulting to UDP (only).", [URL#sipurl.host]),
  
negative.code: %%                   the result of a call to dnsutil:get_ip_port()
  %% Descrip.: Turns the result of a dnsutil:get_ip_port() into a list
  %%           of sipdst records. get_ip_port() return a list of tuples
  %%           like {Inet, Addr, Port} where IP is a string ("10.0.0.1",
  %%           "[2001:6b0:5:987::1]"). Inet is 'inet' or 'inet6' and
  %%           we need to know to convert Proto as necessary. The order
  %%           of the input tuples is preserved in the resulting list.
  %% Returns : DstList | {error, Reason}
  %%           DstList = list() of sipdst record()
  %%           Reason  = string()
  %%--------------------------------------------------------------------
  make_sipdst_from_hostport(Proto, URI, L) when Proto == tcp; Proto == udp; Proto == tls,
  					      is_record(URI, sipurl), is_list(L) ->
      make_sipdst_from_hostport2(Proto, URI, L, []).
  
  make_sipdst_from_hostport2(_Proto, _URI, [], Res) ->
      lists:reverse(Res);
  make_sipdst_from_hostport2(Proto, URI, [{inet, Addr, Port} | T], Res) ->
      UsePort = siprequest:default_port(Proto, Port),
      Dst = #sipdst{proto=Proto, addr=Addr, port=UsePort, uri=URI},
      make_sipdst_from_hostport2(Proto, URI, T, [Dst | Res]);
  make_sipdst_from_hostport2(Proto, URI, [{inet6, Addr, Port} | T], Res) ->
      NewProto = case Proto of
  		   tcp -> tcp6;
  