docs: function PeerAvailabilityStatus (peer) {
    this.peerIdentifier = peer.peerIdentifier;
    this.connectionType = peer.connectionType;
    this.peerAvailable = Boolean(peer.peerAvailable);
    if (this.peerAvailable) {
      this.generation = peer.generation;
      this.newAddressPort = peer.newAddressPort;
    } else {
      this.generation = null;
      this.newAddressPort = null;
    }
  }