Calling libcurl in Swift (Apple). Later will be libcurl binding to Swift