core (Proxy): fixed caching mechanism in HTTP Proxy