### Description
When attempting to use either http_client or http_async_client with tls support enabled and openssl version 1.1.x, Kamailio crashes at startup.
If openssl is reverted to version 1.0.2r as described in #1860, the issue does not occur.
#### Reproduction
On a system using openssl version 1.1.x (e.g. 1.1.1l) start Kamailio 5.5.2 with this config file for http_client failure:
[kamailio.cfg.txt](https://github.com/kamailio/kamailio/files/7442436/kamailio.cfg.txt)
To test http_async_client, load pv.so and http_async_client.so instead of http_client.so.
#### Debugging Data
[bt.txt](https://github.com/kamailio/kamailio/files/7442493/bt.txt)
#### Log Messages
[kam.log.txt](https://github.com/kamailio/kamailio/files/7442496/kam.log.txt)
### Additional Information
* **Kamailio Version**:
[kamversion.txt](https://github.com/kamailio/kamailio/files/7442506/kamversion.txt)
* **Operating System**:
Linux 5.4.0-89-generic #100-Ubuntu SMP Fri Sep 24 14:50:10 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
[os.txt](https://github.com/kamailio/kamailio/files/7442509/os.txt)