Implement ProtectedBinary class for attachements

Start storing binary data and using binary pool.