A base stream class for node that reliably buffers until next tick