anchor.diff:  %% converted to the second.
   %% The first element will be used by default, and MUST NOT be a tuple
   -spec transports(nklib:scheme()) ->
  -    [nkpacket:transport() | {nkpacket:transport(), nkpacket:transport()}].
  +	[nkpacket:transport() | {nkpacket:transport(), nkpacket:transport()}].
   
   transports(_) ->
   	[tcp, tls, udp, sctp, ws, wss, http, https].
  
positive.code: %% for this transport. If not implemented, port '0' will use any port for
  %% listener transports, and will fail for outbound connections.
  -spec default_port(nkpacket:transport()) ->
      inet:port_number() | invalid.
  
  default_port(http) -> 80;
  default_port(https) -> 443;
  
negative.code: %% in case you don't need the connection state to perform the encode.
  %% Return 'continue' to use the default version
  -spec conn_encode(term(), nkport()) ->
  	{ok, nkpacket:outcoming()} | continue | {error, term()}.
  
  conn_encode(_Term, _NkPort) ->
  	continue.
  