Structure-based design of immunologically active therapeutic peptides