anchor.diff:                              {Protocol, Transp, Addr, Port} 
                               || {Transp, Addr, Port} <- Addrs
                           ],
  -                        {ok, Conns, Opts1};
  +                        resolve(Rest, Opts1, Acc++Conns);
                       {error, Error} ->
                           {error, Error}
                   end;
  
positive.code: -spec resolve(nklib:user_uri(), map()) -> 
      {ok, [raw_connection()], map()} |
      {error, term()}.
  
  resolve(#uri{scheme=Scheme}=Uri, Opts) ->
      #uri{domain=Host, path=Path, ext_opts=UriOpts, ext_headers=Headers} = Uri,
      UriOpts1 = [{nklib_parse:unquote(K), nklib_parse:unquote(V)} || {K, V} <- UriOpts],
      UriOpts2 = case Host of
  
negative.code:         throw:Throw -> {error, Throw}
      end;
  
  resolve([Uri|Rest], Opts, Acc) ->
      case nklib_parse:uris(Uri) of
          error ->
              {error, {invalid_uri, Uri}};
          Uris ->
              resolve(Uris++Rest, Opts, Acc)
      end.
  
  
  