storing stomp message headers to sqlite and to binlog (note: database schema and binlog file format became incompatible with previous versions)