Yeah, I can't think of any better solution.  I wouldn't be opposed to forking netstable for this purpose.