Several Varnish fixes and support for old configuration values