Mocking sending of header when varnish is enabled.