[tor-commits] [stem/master] Recognize additional representations of 'localhost' in get_ports()