Fix bug where trailing slash gets stripped off base URI
Merge pull request #28 from mjsuhonos/master

Fix bug where trailing slash gets stripped off base URI.