Recurse handling data, handle cases for multiple messages in single packet.

Fixes memory issues on high loads.