[libvirt] [PATCH] esx: Move CURL handling code to it's own type