added basic curl_getinfo() support for CURLINFO_HTTP_CODE