Hardening/libcurl

**DON'T MERGE**

Orion uses libcurl to send HTTP requests.
Off-topic, but the test should use the corresponding environment variable and not literaly 9997.