Statically link to openssl and libcurl
This fixes the CI builds. For some reason (not looked too deeply) the container we used works locally but fails in our CI system with a SIGBUS.
I really do not want to debug that level, so instead I picked to statically link against openssl-sys and libcurl (Which also uses openssl-sys)
This change made the tests work again, also in CI systems.
The change makes the binary large(r) but over all it's more pragmatic for our containerized use-case.
Edited by Spindel 🕷 Ljungmark