Lua library to provide a generic socket control mechanism for large numbers of connections