Add and modify protocol headers