implemented logging local and source address of a TCP connection