public bool Equals(Peer other)
{
if (other == null)
return false;
// FIXME: Don't compare the port, just compare the IP
if (string.IsNullOrEmpty(PeerId) && string.IsNullOrEmpty(other.PeerId))
return _connectionUri.Host.Equals(other._connectionUri.Host);
return PeerId == other.PeerId;
}