Revert "Removed unused methods from CURL class."

This reverts commit 8a6c3060bc9f22f9fdba8d965ea4898b88a1387d.