Updated SDK methods.

- Added ability to specify custom headers.
- Made sure to handle DELETE in the same way as GET.
- Added support for 'application/json; charset=utf-8' as the response for the Content-Type header.