changed $_http_version to 1.1 in http_client