improve implementation and usage of GetIpAndPort