This makes the table-based callbacks resistent to LuaState unloads and safer to use.
Also added an example in the NetworkTest plugin.