Object encapsulation of PHP's native ldap functions