Refactor outbound message encoder selection into a distinct method to: