minor optimizations in the FFI-based ngx.header.HEADER API.