[PACTest] Correctly accept localhost resolved IPv4/6 addresses