resources: construct ResourceSet from KnownResources message (#9)