Added debug logging for keep-alives