binlog_streamer WIP code complete.

Still need to write tests, and do some more cleanup.