don't inherit from mbed:stream anymore