Save/check last fetching time for each channel.
Fix message encoding.