helper for integration testing with caching proxy

in a project i wrote a test using guzzle to interact with symfony through real http, over varnish. i needed to test if cache invalidation works properly, which needs the full interaction.

maybe some of this could be boiled into a base test and some doc example how its done.