Supporting HEAD wherever we support GET.

Fixes #348.