[PATCH v2 6/9] server: Update the active hooks bitmaps when hooks are added / removed.