lua: fixes merge bug with client vs sock argument naming