[tor-commits] [tor/release-0.3.2] backport to make channel_is_client() accurate