domain/attachment: must be attachable

I was probably pretty tired when reading the manuals :O
attachment: add zlib compression to data

This is in hopes to make things a little more performant when you
attach big files (things like 30-60mb, and numerous of them).

Note: next step it might be better to have a special method to get
data information ie: decompress things only when needed.