Add support for Controls
Created by: vanrein
LillyDAP does not support LDAP Controls yet, it just passes them verbatim. The use is simply a matter of iteration, and perhaps the standardised OIDs could be collected in a perfect hash function.
Functionality that would be useful however, is filtering. One should not pass influential instructions, such as the Proxied Authorization Control without spending attention to it. In general, a filtering function on LDAP Controls would be prudent. Whether an LDAP Control is critical might play a role in doing so.
In addition, one will want to check the presence of a given LDAP Control, and potentially its parsed value and maybe even whether it is critical.
Finally, one will want to send, or attach, an LDAP Control or list of LDAP Controls. Doing this would ideally involve construction from a Quick DER class.