Hardening/libcurl

**DON'T MERGE**

Orion uses libcurl to send HTTP requests.
I think this should be a LM_E() with the following text:

```
Runtime Error (not enought memory, realloc returned NULL)
```

@kzangeli , what do you think?