Add PATCH and OPTIONS support by default to curl_httpclient.

Add some tests to cover all the standard (and non-standard) http methods.

Closes #792.