* server: control port * do not remove messages when saving via control port * remove unused record fields * fix tests