Logging output cleanup.

Rename remaining mentions of internal stream to base stream.
Line up braces to coding style guide.
Change how datagram streams are received and handed off - use separate
list for them, distinct from substreams in general.