code: function (pairCode) {
      var data = this.data;
  
      if (!data.proxyUrl) {
        console.error('proxy-controls "proxyUrl" property not found.');
        return;
      }
  
      var peer = this.peer = new SocketPeer({
        pairCode: pairCode,
        url: data.proxyUrl + '/socketpeer/'
      });
  
      this.el.emit('proxycontrols.paircode', {pairCode: pairCode});
      this.createOverlay(pairCode);
  
      peer.on('connect', this.onConnection.bind(this));
      peer.on('disconnect', this.createOverlay.bind(this, pairCode));
      peer.on('error', function (error) {
        if (data.debug) console.error('peer:error(%s)', error.message);
      });
  
      // Debugging
      if (data.debug) {
        peer.on('connect', console.info.bind(console, 'peer:connect("%s")'));
        peer.on('upgrade', console.info.bind(console, 'peer:upgrade("%s")'));
      }
    }
docs: *****************************************************************
  WebRTC Connection