gril: prepare set_write_handler for multi-request