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

Backport from default.
Fixed the versionadded in the docs for the backport in 16c86a6bdbe2