Optiver interview question

Design a custom protocol around UDP that satisfies certain guarantees