Log TLS handshake result

Makes it easier to debug TLS issues, and to see the effect of
altering the priority string.
2 files changed