refactor: add Node.js like callback system with error reporting
fix: return with halting when parsing \'competent' request