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