EZP-22564: one gateway for all handlers