Inactivity checks

Allow the automatic testing of connections when nothing has been heard from the server for a period.