- Replaced header and content separation with (maybe) something less janky.
- A simple curl failure function.
- Timeouts on curl calls.