use uint64_t instead of time_t for timestamps in the protocol stack