Add a new "PollingConnection" class which can work with "async" APIs and use it in the CloudStackConnection class.