Get access to MultiPeersHandler.js
This object gives you full access to dev/MultiPeersHandler.js
var internalHandler = connection.multiPeersHandler; internalHandler.createNewPeer('remote-userid', userPreferences); // you can find all the APIs in the dev/MultiPeersHandler.js