Allow GEOIP to be controlled with a setting

Use a new setting for whether to use GEOIP.