Implement a resource type StringResource for streaming strings (#5).