anchor.diff:  			       "considering SSL connection from ~s:~p invalid : ~p", [Host, Port, Reason]),
   		    false;
   		{in, false} ->
  -		    logger:log(debug, "TCP connection: Could not get SSL subject information for connection from ~s:~p",
  -			       [Host, Port]),
  +		    logger:log(debug, "TCP connection: Could not get SSL subject information for connection "
  +			       "from ~s:~p : ~p", [Host, Port, Reason]),
   		    true;
   		{out, _RequireClientCert} ->
   		    logger:log(debug, "TCP connection: Could not get SSL subject information, "
  
positive.code: %%           Socket       = term()
  %%           Local        = term() ({Host, Port} tuple())
  %%           Remote       = term() ({Host, Port} tuple())
  %%           SSLHost      = string() | undefined, hostname to verify
  %%                          a SSL certificate against
  %% Descrip.: Initialize this tcp_connection process to handle Socket.
  %% Returns : {ok, State, Timeout} |
  %%           {stop, Reason}
  
negative.code: %%====================================================================
  
  %%--------------------------------------------------------------------
  %% Function: start_link(in, SocketModule, Proto, Socket, Local,
  %%                      Remote)
  %%           SocketModule = atom(), socket module (gen_tcp | ssl)
  %%           Proto        = atom(), tcp | tcp6 | tls | tls6
  %%           Socket       = term()
  %%           Local        = term() ({Host, Port} tuple())
  %%           Remote       = term() ({Host, Port} tuple())
  %% Descrip.: Starts a tcp_connection gen_server to handle this socket.
  %% Returns : {ok, Pid} | ignore
  %% Note    : 'ignore' is returned if the socket is not acceptable for
  %%           some reason (e.g. SSL certificate validation failed)
  %%--------------------------------------------------------------------
  start_link(in, SocketModule, Proto, Socket, Local, Remote) ->
      {SSLHost, _RPort} = Remote,
      gen_server:start_link(?MODULE, [in, SocketModule, Proto, Socket, Local, Remote, SSLHost], []).
  
  %%--------------------------------------------------------------------
  %% Function: start_link(connect, Dst, GenServerFrom)
  %%           Dst           = sipdst record()
  %%           GenServerFrom = term(), send result of connection attempt
  %%                           to this caller using gen_server:reply().
  %% Descrip.: Starts a tcp_connection gen_server and try to connect to
  %%           a remote destination. Will eventually send result of
  %%           connection attempt to GenServerFrom using
  %%           gen_server:reply().
  %% Returns : {ok, Pid} | Error
  %%           Error = term(), result of gen_server:start()
  %%--------------------------------------------------------------------
  start_link(connect, Dst, GenServerFrom) when is_record(Dst, sipdst) ->
      gen_server:start(?MODULE, [connect, Dst, GenServerFrom], []).
  
  