Curl wrappers and Utils