curl_xml: Add ability to set plugin instance from XML data.