Bugfix for Curl.head