Decode incoming URIs