Added support for HEAD requests

I don't know if this is the best way to go about handling HEAD requests as they're meant to return identical Headers to the equivalent GET request. Thought I'd send this pull request anyway.