Restore curl helper for plugin compatibility