Reduces requirement for external cURL library

Removes much of the need for the SEMLabs cURL library, and refactors
the cURL calls for increased performance.