Add progress compatibility for PHP 5.5

Long story short, there was a backwards incompatible change to the
CURLOPT_PROGRESSFUNCTION callback arguments.