Added varnish 3 support