Added handlers for onConnect and OnTimer also created the Message Class from which to inherit for specific protocols