Line 387 produces an "Bad Argument" error from the implode() function. The variable being imploded is actually a string on my computer.
To fix this error, replace this:
if(isset($curl_version['protocols']))
$curl_message .= 'Supports: ' . implode(', ',$curl_version['protocols']) . '. ';
With this:
if(isset($curl_version['protocols']))
if(is_array($curl_version))
$curl_message .= 'Supports: ' . implode(', ',$curl_version['protocols']) . '. ';
else
$curl_message .= 'Supports: ' . $curl_version['protocols'] . '. ';