Implement Keep Alive Timer

Implement the PINGREQ and PINGRESP and the Keep Alive Timer from the
client.