Simplify default attribute handling.
Better handling of underlying ldapjs errors, avoid throwing exceptions when .on('error',...) by checking for a defined event
listener.