Use non-deprecated urls module

Fixes: #82
Merge pull request #83 from jfposton/master

Use non-deprecated urls module