Merge pull request #104 from mikey179/master

work for 4.0.0
update dependencies
add stubbles\peer\http\HttpUri::castFrom()