MySQL User Defined Functions for MaxMind GeoIP