CSHARP-1013: Use Equals instead of == with DnsEndPoints.