[tor-commits] [tor/maint-0.2.4] check bounds on handshake_type more thoroughly