Add url encoding to components in the URI