Threaded private chat with LevelDB