This commit includes minor refactoring in Ping and PingServer to support unit testing refs #2796 Change-Id: Id0172486aa07e129a90091d72594fbccbb5dbc06
refs #2826 Change-Id: Ia4b7812383433550f933283ca6384873c5451057
refs #2702 Change-Id: I0ee0403f84eaec35bdbf07af7b3bb52558113452