Hardening/libcurl

**DON'T MERGE**

Orion uses libcurl to send HTTP requests.
The old function would spew an extra '\n' for no good reason. Code said:
```c
 /* We add a final newline (I guess that HTTP protocol needs it) */
  strcat(msg, "\n");