Added support for secure ldap connection. Please update configs!