A curl wrapper for web requests