DecoratorPattern implemented by using .NET Stream class