working copy of HTTPProxyCache, however very slow