Reset cURL method state on each request.

Fixes a bug where DELETE requests caused subsequent requests to misfire
due to CURLOPT_CUSTOMREQUEST not being reset.