Don't hard code depth, get it from mmdb struct
Use a single function to search both IPv4 and IPv6 trees
Check that record size is 24, 28, or 32 - we can't handle other sizes right now
Simplify loop when checking search for address

Rather than checking record length repeatedly this sets function pointers once
and then uses them in the loop.
Indent code
Remove the dump test, since it's not really a unit test

If we want to see if dumping works we can use the mmdbdump CLI command