accept HEAD request

It responses with 200 OK if hook with given identifier exists, otherwise
500 Internal Server Error.
Merge pull request #8 from eitoball/accept_head_request

Accept HEAD request