Haven't had a lot of time this week, but managed to make some decent headway into persistence. The SQLite API is quite straightforward (if a little verbose) despite the lack of examples in the documentation. I've written a function to serialize all the headers at once, which I'll use for sending them in one chuck and to store in the database (using a relational table seems like asking for bugs, though I can always change that). I'm halfway through implementing the SQLite access abstraction to store and retrieving frames (which I should easily be able to finish on Monday), then I can just write frames to the database before sending messages. I'll need to put some careful thought and refactoring into connections going down, multiple connections and when to re-send frames. I'm going to need to carefully manage my time in order to have time for at least some useful testing before the conference.