Url.getRoot() with port fix
Merge pull request #19 from verkholantsev/master

Fix for urls with port