Hardening/libcurl

**DON'T MERGE**

Orion uses libcurl to send HTTP requests.
Side note: not sure of this would be when we use this function for other functionality (i.e. forwarded queryContext/updateContext for Context Providers functionality). However, I think we should adapt the format in this PR, we will deal with the new functionality when it comes.