The HEAD method support compatible with Varnish 4.0.0

Tested with the latest Varnish 4.0.0 release.