This patch adds an initial implementation of a tool to download and (if encrypted) decrypt matrix media based on the decrypted event content.