Fixes #5815 - set up the qpid ssl connection properly