libevents: adjust tests for retry field; pack string frames with payload length