[tor-commits] [tor/maint-0.3.1] Fix several places where md-using relays would get wrong behavior.