[tor-commits] [tor/maint-0.2.8] (cherry-picked by nickm, with changes file from isis.)