Lots and lots of small fixes.
- Make bot work on gnutls 2
- Fix issues handling end of stream on hanzel with irc.
- Pick up some of the older audit message types used in debian.