add support to passing the ldap client directly
0.4.0