Moved connect message handling out to its own function. (and cleaned up some indentation)
Moved connect message handling out to its own function. (and cleaned up some indentation)

SkewedAspect/precursors-server,SkewedAspect/precursors-server,SkewedAspect/precursors-server,SkewedAspect/precursors-server