You all kinda hijacked this thread.. Start a new thread if you want to talk about packets, because no one is talking about the original topic anymore: these thread-based LUA errors.
I found some code that is vaguely related, but terribly written bit of code at this spanish blog about "GhostWriting". (a better formatted, but modified version can be found at some asian site.)
This is really frustrating; I am thinking that it may not be possible..