added a convenience method to make a HEAD request