Better checking of long domain names and labels in queries. Documented, and adnshost copes. Better reporting of unexpected or weird replies from nameserver. Many memory leaks fixed. Include and in adnshost.h.
Regression tests can cope with zero-length reads.
Regression tests check for memory leaks. Internal consistency checking with assert if right options set. Do not scramble innards when a query on the output queue is cancelled. Do not close tcp socket twice. Mailboxes containing spaces in their names are quoted.