further general cleanup of uri
add the ability to append to the existing path
fix a bug where new paths are not quoted