Changes component component in the inout_uri to value value.
As the Uri cannot be modified the inout_uri points to a new
Uri at the end of the call and the previous structure is unreffed.
See: util_change_uri_port
| inout_uri |
a Uri |
| component |
a string URIComponent to change |
| value |
a value to set, or null to unset |