Update of the C# TLS implementation from the recent BC Java code