test for NSHTTPURLResponse (not always a valid cast on Mountain Lion)