OOP wrapper for curl extension