GeoIP helper functions for Magento