Add url verification in open() and isOpen().
Simplify the specs.
Compare the exact url.
Merge pull request #44 from jakzal/verify-url

Add url verification in open() and isOpen().