HornetQ 2.3.x retrocompatible client

Some minor changes to be able to use HornetQ 2.3.x client as a client for HornetQ 2.2.x server