[[ Bug 12822 ]] Use common code to initialise ssl certificates
[[ Bug 12822 ]] Fix OSX build errors
[[ Bug 12822 ]] Reorder mcssl.h includes to fix Windows build
Merge remote-tracking branch 'ian/bugfix-12822' into release-6.6.3