Update socket.lua as well.