Support deserializing relative Uris. Fixes #15169.

Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=15169