resolve

If this IpPort is marked as "resolutionNeeded" calling this function will resolve the domain to a list of IPs and return a random one from that list. Otherwise (or if something goes wrong) it will simply return this