Log bytes transferred per TCP connection every second.
Fixed a compile warning.