Make Varnish 4.0 compatible