libede wrapper for curl