Implement getMessages.
Merged 'develop'.
Add fields to ChunkHash.