Nature-inspired protein creates stretchable, composite layer