socket library binding for lua