replace ping header char in processAgentData switch case