anchor.diff:  %% @doc initialize: return initial state.
   -spec init({DestIP::inet:ip_address(), DestPort::comm_server:tcp_port(),
               LocalListenPort::comm_server:tcp_port(), Channel::comm:channel(),
  -            Socket::inet:socket() | notconnected}) -> state().
  +            Socket::socket() | notconnected}) -> state().
   init({DestIP, DestPort, LocalListenPort, Channel, Socket}) ->
       msg_delay:send_trigger(10, {report_stats}),
       msg_delay:send_trigger(10, {check_idle}),
  
positive.code:     Channel = channel(State),
      new_connection(Address, Port, MyPort, Channel, 0).
  
  -spec close_connection(Socket::inet:socket(), State::state()) -> state().
  close_connection(Socket, State) ->
      ?COMM:close(Socket),
      case socket(State) of
  
negative.code:             inet:getstat(Socket, Options)
      end.
  
  -spec setopts(Socket::socket(), list()) -> term().
  setopts(Socket, Options) ->
      case ?COMM of
          ssl ->
  