Removing assumption that "error" field of JSON response object is null rather than undefined
Handling "bad host" error in python service.
Removed "empty_response()" function.

Closes #211.
Merge branch 'dump-empty-response'