Fix tsproxy localhost behavior
Fix tsproxy localhost behavior

Fixes tsproxy.py not handling localhost/127.0.0.1 hostnames properly
when run under Python 3. There is hardcoded logic for this, but it was
failing since it was trying to compare strings to bytes in Python 3.

Bug: chromium:1246553
Change-Id: I2047968fae96afca9bfd407ca5d56b13637463c6
Reviewed-on: https://chromium-review.googlesource.com/c/catapult/+/3152414
Auto-Submit: Brian Sheedy <8cdc5cc1fa60ba15acb0d296e6f5592b7bb7d71c@chromium.org>
Reviewed-by: Wenbin Zhang <45ad8a1ff616a38a2202fd35571df81897c5f14f@google.com>
Commit-Queue: Brian Sheedy <8cdc5cc1fa60ba15acb0d296e6f5592b7bb7d71c@chromium.org>

catapult-project/catapult,catapult-project/catapult,catapult-project/catapult,catapult-project/catapult,catapult-project/catapult,catapult-project/catapult,catapult-project/catapult