Use time_point instead of time_point_sec for encrypted_message.timestamp. This commit will not compile, it's an intermediate commit to allow some changes to be split into a branch.
update message_cache database to use time_point instead of time_point_sec