Site-selective chemical protein glycosylation protects from autolysis and proteolytic degradation.