MULE-53: added support for pre and post Varnish release 3