Return cached version on transport error.

Modified CachingRequest to return a cached response in case of a transport
error.