Add support for HEAD request