DOCS-1941 support for mixed ssl modes on a connection