Support SASL LDAP binds and Start TLS

Adapted from https://rt.cpan.org/Public/Bug/Display.html?id=50334