correct type and cast for connect
add net modules for rump - NB causes issues with standard luajit at present
correct type and cast for accept
correct type and cast for accept
correct type and cast for getsockname, getpeername