Curl class with some default functions and settings