Subclassing NSURLProtocol to implement caching mechanism