Attempted from memory, changes needed for Varnish with VCL4.