Switching behavior dynamically in Varnish