I whipped up a quick C program to do this for my setup. It's probably a good starting point for the use cases listed here.
https://github.com/vincebusam/flirc_retransmit
I whipped up a very crude implementation of this. It's online if it'll help somebody else get it working for them.
https://github.com/vincebusam/flirc_retransmit