[tor-commits] [tor/maint-0.4.0] test/rebind: Make control formatting and log parsing more robust