Method for synthesizing a cyclic multivalent peptide using a thiol-mediated reaction