Add support for HEAD requests