anchor.diff:  %% ===================================================================
   %% Public
   %% ===================================================================
  +
   
   %% @doc Finds the ips, transports and ports to try for `Uri', following RFC3263
   -spec resolve(nkpacket:domain(), nklib:user_uri()) -> 
  
positive.code:     {error, term()}.
  
  resolve_uri(Domain, #uri{}=Uri) ->
      #uri{scheme=Scheme, domain=Host, opts=Opts, port=Port} = Uri,
      try
          Host1 = case Host of
              <<"all">> -> <<"0.0.0.0">>;
  
negative.code:             _ -> 
                  TargetIp = IsNumeric = false
          end,
          RawTransp =  case nklib_util:get_value(<<"transport">>, Opts) of
              undefined -> 
                  nklib_util:get_value(<<"transport">>, ExtOpts);
              RawTransp0 ->
                  RawTransp0
          end,
          UriTransp = case RawTransp of
              Atom when is_atom(Atom) -> 
                  Atom;
              Other -> 
  