fixed issue with Mono where DnsEndPoint.Equals throw a null reference exception when comparing a different type of endpoint.
fixed timing issue with a flaky test in mono.
fixed issue where mono treats empty X509 certificates differently than .NET.