Binary attachments support in protocol