[REviewer: Graeme] Create the Cx dictionary after initializing the diameter stack

Graeme, please can you review this fix to stop homestead crashing on start-up?