Convert an URL to an IPAddress.