Merge pull request #9508 from leoetlino/ipc-reply-cleanup IOS: Clean up the way IPC replies are constructed