Fixes for PY3
Fix set_option call to LDAP for SSL CERT
implements HTTP Basic Auth and fixes issue #4.