[wip] flow log v0.8

Flow/connection logging work in progress.