add BaseWritableStream to reference implementation

Needs way more tests, but for now just needed a `BaseWritableStream` implementation so I could move forward with adding `pipeTo()` to `BaseReadableStream` (and to test it).