Support url for mongodb (easier support for replica set)