add some ngx_lua api