The remarkable family of proteins that can make us very ill—but can also be linked to long-term memory, immunity, and the origin of life