Since the server mode was added later, I put the command line parameter handling in the MPing constructor. To completely use separate constructors I need pull out the parameter handling code. I put the server construct into the main() function and left a TODO to there.