net-ldap upped to master version, code updated to correctly convert encoding