Now LDAPClient accepts  LDAPURL object as an url parameter.