added (optional) encryption to message metadata and local blob storage