update federation protocol to allow all kinds of message processing