check for http response codes only if NSURLResponse is a NSHTTPURLResponse