Tests connecting to an LDAP server using different SSLSocketFactory implementations.
The test connections to the specified LDAP URL, binds as some user (principal), and then
searches for a user object using a base DN and a principal name. The result is the `CN` of
the found object. SSL debugging is turned on to show the relevant SSL connection messages.
The current implementation assumes the LDAP server is an Active Directory and searches for
a user object using the `userPrincipalName` field.