Add support for HTTP HEAD requests.

May be needed by some clients, e.g. XBMC.