traffic-selector: Store ICMP[v6] message type and code properly