HHVM port of geoip pecl extension (1.0.8)