Lua bindings for POSIX APIs with added socket and termios support