Only send a packet to the application when the payload is not empty