LDAP Optimization:

Julien Wadel
2022-02-23T17:50:48Z

- avoid doing synchronous TLS connection.
- use timeout settings to server connection timeout (default was infinite)
- fix scheme check

Cherry-pick : https://gitlab.linphone.org/BC/public/liblinphone/-/merge_requests/1854