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