Drop unused field
Fix NLA authentication for server-side

This patch make copies of the server public key so that the NLA
authentication can be performed server-side.
Fix metrics leak
Fix certificate leak

There were a leak when doing TLS in server mode
Don't leak cert in case of failure
Merge pull request #1882 from hardening/nla_fix

Nla fix