Added HEAD request handler