Fixes #3

Add proper handling for HTTP 204 return codes.
This handles the lack of data in the response body on a HTTP 204 response.
Updated both sync and async adatpers.
Added unit tests for the changed files.