Fixed the majority of compile warnings except for `CURLcode res` being unused as I just haven't
gotten around to implementing the net logic yet.