Basic library in Lua to handle the Minetest protocol.