Fixes.
Add missing function.
No need for std:: prefix, since this is a child namespace.
Import new promise/future logic from ilias_async.