Fix the '-d' option (turns on socket-debugging).  Improve startup msgs.
Fix the '-d' option (turns on socket-debugging).  Improve startup msgs.

PR:		17178
Submitted by:	Richard <satherrl@dssrg.curtin.edu.au>

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase