WIP: send DoH error codes
Fixes #618 (closed)
TODOs:
-
use static strings for error messages -
use mempool for each stream -
improve handling of unexpected edge cases (such as recieving PRIOTIRY frame) -
make the code more stream-oriented rather than connection-oriented (to avoid inconsistent and problematic states)