[communication] Corrects return value and include.
[communication] Adds debug and corrects seqnum increase.