Create socket.lua