[refact] More consistent naming (s/comm/io/)
Give a more specific name to debugging swith const
[fix] Do not include `<assert.h>` directly, it is handled by `xi_debug.h`