[tor-commits] [torsocks/osx] Use socket rather than address to determine connection type