The core module keeps track of the last message received. If the last message received was more than X seconds ago (configurable), it will send a ping. If the last message was received more than Y seconds ago (again, configurable) then reset the connection. Signed-off-by: Alek Ratzloff <alekratz@gmail.com>