More curl error handling and usage statements