* refactored to put most things inside functions
* handle SIGHUP so config can be reloaded without restarting the process
* server lists derived from SRV records are updated after the TTL on the records expires
* uses syslog for logging
* support for explicit IPv4/IPv6 selection
* support for configuring a stats update interval so no SIGUSR1 needed