Issue #20421: Add a .version() method to SSL sockets exposing the actual protocol version in use.

Backport from default.
5 files changed