Expand capabilities of RestApi.c. Support for custom headers per request and support all http verbs.
The current curl implementation in dayz does not support all http verbs, such as PUT, PATCH, and DELTE. Which makes it difficult to implement CRUD based REST API's. Also some api's require custom headers to specific endpoints, like an Authorization header, and we only have access to modify the Content-Type header, a wrapped array for custom headers would be nice to pass per request.