added CloudFlare support to checkip() function