Use icanhazip.com instead

canhazip.com started using CloudFlare, which seems to have broken the script. On my machine, at least, CloudFlare asks for a CAPTCHA response, which a script obviously can’t provide.