[Issue #74] handle response object being nil (can cause exceptions)
Merge branch 'handle-nil-response-object'

* handle-nil-response-object:
  [Issue #74] handle response object being nil (can cause exceptions)