CSHARP-787: added support for the X509 authentication protocol.
security cleanup