Work-in-progress on iOS implementation, improvements for handling parallel calls, note: untested code.