code: func (rp remotePeer) AsRemotePeer() *comm.RemotePeer {
  	return &comm.RemotePeer{
  		PKIID:    common.PKIidType(rp.pkiID),
  		Endpoint: rp.endpoint,
  	}
  }
docs: // AsRemotePeer converts this remotePeer to comm.RemotePeer