cope with replica set mongo urls