parse remote URIs