So, I got the basic example to work on cordova ios after fixing Uint8Array.prototype.indexOf, Uint8Array.prototype.lastIndexOf, and Uint8Array.subarray when called with no arguments.
Also, I have problem with navigator.TCPSocket being properly registered. Somehow using browserify breaks this.
So my question is: can you add instructions on how to exactly build this for the browser ?