anchor.diff:  %% @private
   get_modules(tcp) -> {inet, gen_tcp, ranch_tcp};
   get_modules(tls) -> {ssl, ssl, ranch_ssl}.
  -
  -
  -
  -
  
positive.code:             {ok, {LocalIp, LocalPort}} = InetMod:sockname(Socket),
              NkPort1 = NkPort#nkport{
                  local_ip = LocalIp,
                  local_port = LocalPort, 
                  listen_ip = ListenIp,
                  listen_port = LocalPort,
                  pid = self(),
  
negative.code: -spec terminate(term(), #state{}) ->
      ok.
  
  terminate(Reason, State) ->
      #state{
          ranch_id = RanchId,
          ranch_pid = RanchPid,
  