add segment of proto header