[tor-commits] [snowflake/master] client interfaces compose better, remove some globals, test ConnectLoop