request: return InvalidURI for non-utf8 URI

Change-Id: If8508eb9b49aed1129e70b9c9c6c2a50ddd4be0a
Merge "request: return InvalidURI for non-utf8 URI"