Add support for ldapi:// and ldaps:// and truning off ldap://