Merge changes Ibbf925d2,I12a2aa59 into main

* changes:
  bufferstreams: Add basic implementations of core BS traits
  libbufferstreams: Add a StreamConfig type (and associated trait methods)