anchor.diff:      Uri2 = resolve_scheme(Uri, Opts),
       #uri{
           scheme = Scheme,
  +        user = User,
  +        pass = Pass,
           domain = Host, 
           path = Path, 
           ext_opts = UriOpts, 
  
positive.code:         <<"all">> -> UriOpts1;
          _ -> [{host, Host}|UriOpts1]            % Host to listen on for WS/HTTP
      end,
      UriOpts3 = case Path of
          <<>> -> UriOpts2;
          _ -> [{path, Path}|UriOpts2]            % Path to listen on for WS/HTTP
      end,
      UriOpts4 = case Headers of 
          [] -> UriOpts3;
          _ -> [{user, Headers}|UriOpts3]
      end,
      try
          UriOpts5 = case nkpacket_util:parse_uri_opts(UriOpts4, Opts) of
              {ok, ParsedUriOpts} -> ParsedUriOpts;
              {error, Error1} -> throw(Error1) 
          end,
          Opts1 = case nkpacket_util:parse_opts(Opts) of
              {ok, CoreOpts} -> maps:merge(UriOpts5, CoreOpts);
              {error, Error2} -> throw(Error2) 
          end,
          Opts2 = case Opts1 of
  
negative.code: -export([get_listening/2, get_listening/3, is_local/1, is_local/2, is_local_ip/1]).
  -export([pid/1, get_nkport/1, get_local/1, get_remote/1, get_remote_bin/1, get_local_bin/1]).
  -export([get_meta/1, get_user/1]).
  -export([resolve/1, resolve/2, multi_resolve/1, multi_resolve/2, parse_urls/3]).
  
  -export_type([listen_id/0, class/0, transport/0, protocol/0, nkport/0, netspec/0]).
  -export_type([listener_opts/0, connect_opts/0, send_opts/0, resolve_opts/0]).
  