added HEAD request capabilities