anchor.diff:          ok ->
               ?TRACE("~.0p Sent message ~.0p~n",
                      [pid_groups:my_pidname(), Message]),
  -            State2 = state_after_sending(State, Message),
  +            State2 = save_n_msgs(Message, fun set_last_msg_sent/2, State),
               %% only close in case of no_keep_alive if the
               %% connection was solely initiated for this send
               case lists:member({no_keep_alive}, Options)
  
positive.code:      _DesiredBundleSize = 0, _MsgsSinceBundleStart = 0,
       _LastStatReport = {0, 0, 0, 0},
       _TimeLastMsgSent = {0, 0, 0},
       _SentMsgCountSession = 0, _ReceivedMsgCountSession = 0,
       _SessionCount = 0,
       _LastMsgSent = none, _LastMsgReceived = none
      }.
  
  -spec dest_ip(state()) -> inet:ip_address().
  
negative.code: on({web_debug_info, Requestor}, State) ->
      Now = os:timestamp(),
      TimeLastMsgSent = time_last_msg_sent(State),
      TimeLastMsgReceived = time_last_msg_received(State),
      SecondsAgoSent = seconds_ago(Now, TimeLastMsgSent),
      SecondsAgoReceived = seconds_ago(Now, TimeLastMsgReceived),
      Runtime = timer:now_diff(Now, started(State)) / 1000000,
      {SentPerS, ReceivedPerS} =
          if Runtime =< 0 -> {"n/a", "n/a"};
  