Streaming log API now also honors history argument.

This addresses issue #56.

This code is a replica of the test above.  I actually spent quite a bit of time when I first wrote the code trying to do just that, but it would have involved overhauling the interface to the encoding library to such an extent that I just settled on the sleep as the pragmatic solution.