anchor.diff:  -spec terminate(term(), #state{}) ->
       ok.
   
  -terminate(Reason, State) ->
  +terminate(Reason, State) ->  
       #state{
           ranch_id = RanchId,
           ranch_pid = RanchPid,
  
positive.code: %% @private
  get_modules(tcp) -> {inet, gen_tcp, ranch_tcp};
  get_modules(tls) -> {ssl, ssl, ranch_ssl}.
  
negative.code:             },
              InetMod:setopts(Socket, [{active, once}]),
              {ok, NkPort2};
          {error, Error} -> 
              {error, Error}
      end.
  
  