Adding partial support for "CURLINFO_HTTP_CODE" in currently unsupported curl_getinfo() replacement.