encoding change, and wrapping up LDAP sections rough pass

Signed-off-by: Isaac (.ike) Levy <ike@blackskyresearch.net>