Found the source of the leak... me :-) I'm not sure why I would ever
comment out a close() but I did.

So the publish interface might need some work, especially passing arguments.

Next I want to implement gpgme / SSL and certificate authenticaiton.

Then on to IPv6