Messenger: store timestamps explicitly as UTC

Convert timestamps to UTC for storage and to local time when retrieving.

Fixes #4.