Use simple ctimer for Rx callback rather than a process
Fix ringbutptr_full
Implement input as a circular buffer, do not wakeup for Rx if no space left
Define keep-alive timeout and desynchronization threshold
Added stubs (timer management but no actual packet sending) for implementation of keep-alive
Add packet len to logs
Implement keep-alive