Added support for HTTP HEAD requests

Hi,

please review. 

I added HEAD request support. The integration tests with Ninja are adapted to the fact that Ninja does not yet support HEAD as it seems (404 status in responses). I haven't found the time to extend Ninja as well. 

Using the HEAD request in my doctests with my own project works.

Cheers,
Jan