Adapting protein quality control for intervention in immunity and neurodegenerative diseases