add some Nginx API for Lua