Total wire data should always be uint64 (fixes #315)