embed multiplayer script, using the same method as luasocket