A helpful wrapper for testing network requests using NSURLProtocol.