Add support for HEAD method in cURL driver

Signed-off-by: Fabien Foulgoc <fbn.fgc+github@gmail.com>
Merge pull request #547 from fbnfgc/feature/curl-method-head

Add support for HEAD method in cURL driver