add bitmap commands support for openresty(lua)