Add debugging facility to tldap, analogous to tevent