Added support for HEAD requests in HTTP module.