making specs compile, and fixing ReadCachingHttpClientSpecs