Consider a nil NSURLResponse to be an error

As explained in the comment.