Update code based on new XCode and SwiftHTTP