- Clean up the tests/ subdirectory and make it a bit nicer for unit and
  regression testing.

- Add IPv6 support where necessary.
