Parsing and handling the PINGREQ message