Adding WIP. Trying to workout the exceptions to help the JMS layer
distinguish between connection failure and other connection errors.