Use debugfunction as a callback for setting raw request data.

More details here:
http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTDEBUGFUNCTION
Verbose must be set to true to use custom debugfunction.
Get specs passing to account for verbose always being true.
Add specs for request_headers.
Use correct argument types for debugfunction callback.