Flow: more window size logging.
Stream: smarter chunking heuristic. Fixes #25.