Improve xml parsing for reply name
Allow to switch back and forth between codec/simulator during sessions.