anchor.diff:  -spec terminate(term(), #state{}) ->
       ok.
   
  -terminate(Reason, State) ->
  +terminate(Reason, State) ->  
       #state{
           ranch_id = RanchId,
           ranch_pid = RanchPid,
  
positive.code: }).
  
  
  %% @private
  -spec init(term()) ->
      {ok, #state{}} | {stop, term()}.
  
  
negative.code: %% @private Starts a new connection to a remote server
  -spec connect(nkpacket:nkport()) ->
      {ok, nkpacket:nkport()} | {error, term()}.
           
  connect(NkPort) ->
      #nkport{opts=Meta} = NkPort,
      Debug = maps:get(debug, Meta, false),
  