Simple object oriented curl wrapper.