[tor-commits] [snowflake/main] Validate client and proxy supplied strings