The CN or subjectAltNames of the TLS certification is now matched with
the hostname connected to.
taskd.trust is now a tristate value (allow all, ignore hostname,
strict) to optionally disable the new hostname verification.
- Implemented sync over TLS.
- Obsoleted the Socket code, replacing it with TLSClient, TLSServer.
- Added task server details to the 'diagnostics' command output.
- 'rc.debug.tls' controls the GnuTLS log level.
- Removed redundant cmake diagnostics.