Add thread ID to packets, still has address allocation problem