Implemented roundtrip statistics gathering.