Fixed URL parsing of replsets
Merge pull request #58 from Qard/better-url-parsing

Fixed URL parsing of replsets