It would be useful to be able to get the currently negotiated SSL/TLS protocol version. This patch adds the protocol version to the status returned by tls::status.

Patch: