curl configuration handler for HTTPClient