support different varnish versions