WIP: Issue 1386 add iframe channel

Follow on for #1437. Not fully ready for review, but feedback on the approach/RP API would be useful.