simplify parsing of uri into scheme and path
Merge pull request #3 from staabm/patch-1

simplify parsing of uri into scheme and path