Fix 1.8.7 support in instances
Use flatten instead of keys, as it behaves the same in all Ruby versions
Use varnish_param in varnish::config