Support for trailing slashes in URL

- Added support for trailing slashes.
Merge pull request #12 from kidchunks/master

Support for trailing slashes in URL