Fixes to OCPP commands PDU validation code: