Add support for HTTP HEAD requests.

May be needed by some clients, e.g. XBMC.
Merge pull request #7 from ikatson/feature-head-request-support

Add support for HTTP HEAD requests.