[tor-commits] [torsocks/master] Use getsockname(2) for finding out socket address family