Fixing behavior if response is `nil`

Testing without internet connection, `operation.response` is `nil` and the `failure` block is not called. We can get the URL from the `operation.request` instead of `operation.response` (as done in the `success` block).
Merge pull request #1 from marcelofabri/patch-1

Fixing behavior if response is `nil`