Change MongoServer and MongoServerInstance to work with IPEndPoints as well as DnsEndPoints.