only set CURL NOBODY option (to true) when http method is HEAD.

Because on some version of curl, when setting the CURL NOBODY option even to FALSE, this remove any POSTFIELDS data from the request...

Related to #485