Use Int64 to avoid potential integer overflow .

As discussed in #30, the timestamp is now captured as `Int64`, which should avoid running into integer overflow scenarios with heartbeats.