Handle HTTP response codes 201 (Create) and 204 (No Content) as
succesful responses.
Return empty response bodies as null.
Handle response input stream/reader closing better.
Return empty response bodies as null.
Handle input stream/reader closing better.