Deferred for iOS, based on Twisted