Improved strict types on ldap_bind