[fix #459] Parse MongoDB connection string properly.