Add head request to base handler

As seen with american gut, we need to respond properly to HEAD requests. This adds that functionality.