Added experimental caching support to getLdapClient