Reset CURLOPT_CUSTOMREQUEST before each new request method.

This avoids issues with the state crossing over multiple requests, as cURL treats this field
as more authoritative than CURLOPT_POST, etc...