Add function to read GeoIP country from database.