Allows use mongoose replica set as connection

Please, accept this PR.