Fixes #3
Handle empty or 0 length HTTP responses properly.
Prevent trying to decode invalid JSON on a successful response.
Added unit tests for empty and 0 length responses.
Merge pull request #5 from bparker98/noresponse-fix

Fixes #3