Fix integer overflow with byte counter on NullNetwork