Mirror::CountryCoords module to query the coords of a country
Avoid reading the whole DATA section unless necessary
Set the geo-coords of the listed country on non-definitive geoip lookups

The Mirror::CountryCoords is not shared among the different threads as
it is rarely used. At present time, there is only one mirror in
Debian's mirrors network for which the geoip database returns the
generic "Europe" location.
Mirror::Redirector: low level Plack application

No more redir.pl, yet the interface remains untouched (GET parameters).

The code is still ugly and support for multiple Link headers is broken.

Closes #10
Remove executable bit from Mirror::Redirector
Allow the v4 local IP address to be translated to something else

Additionally, cache the result if querying dnsomatic.
Default to 4.4.4.4 for queries from the test suite

This makes the test suite slightly more reproducible but the main reason
for the change was the number of calls to wget just to obtain the
remote IP address.
local-request.pl: script to simulate requests without a server
Document the new dependencies and the local-request script

The examples and other parts of the documentation still need to be
updated.
Move some sub subs that don't need to be to the package scope

The other sub subs still rely on scoped variables.
Pass mirror_type to should_blackhole and move it to the package scope
Move @ARCHITECTURES_REGEX to the package scope

There's no need to re-create it on every request.
Load the db upon creation of the Mirror::Redirector object
Restore support for multiple Link headers
Only load the IP databases once

Refactor the code a little bit while at it
Pass the request object to get_local_ip

It makes more sense than passing the local IP address (which in an
unmodified codebase would always be 127.0.0.1), and allows implementing
things like x-forwarded-support by setting a set_local_ip function.
Add an application that respects x-forwarded-for from 127.0.0.1

For use with a local proxy, for instance.
Drop note about the live instance, it will no longer be true
Update the apache config example for use with the app
Limit the length of the Link header

This is to avoid breaking old APTs when the headers are enabled for GET
requests, closes #13