added the ability to connect to a broker running in the same class loader (but not the same Spring context)