HTTP Digest support for curl plugins

Only tested out the curl_json digest option, but the others should be OK as well.