fix luasocket_scripts.c problems

fix luasocket scripts problems