Expose the base class as a property of the factory function

In order to allow other classes to extend the SandwichStream class,
expose the constructor as a property so that it can be extended.
Merge branch 'feature-expose-class'