UDPConnection: track and log frame-packet statistics