Implement an API-based GeoIP lookup
As an alternative to the current IP database middleware, which is relatively inaccurate in its free version, we want to try using an API for IP information lookups, as they are less expensive for the amount of queries we want to do.
We start with ipinfo.io, as they offer 50k requests for free on their starting plan.