Updated code to provide local and remote geoip data