TLS: Added TlsStream class. Supports TLS 1.0-1.3 via Stream-based API.
TLS: An error is reported when trying to use one of deprecated methods via TlsServerSocket.
Cryptography: Memory usage optimizations in CNG layer.
Cryptography: On Microsoft Windows 10 and Microsoft Windows Server 2016 or higher, Microsoft CNG API is used for classic Diffie-Hellman calculations instead of legacy Microsoft CryptoAPI.
Cryptography: Optimized disposing of temporary keys in Certificate class.