ngx-lua-conn-pools: various fixes from Guanlan Dai and me.