[tor-commits] [flashproxy/master] Factor out a format_peername function.