Correctly use long to store CURLINFO_RESPONSE_CODE

GitHub: fixes #1