Class to handle curl issues