change http_status to a long, as per Curl API, which stops mysterious crashes caused by overwriting the WRITELOCATION ptr