[tor-commits] [goptlib/master] Add IsClient and IsServer.