You need some coding discipline, your code is full of unsafe code, every line
in there would need to be carefully reviewed to prove it correct. Worst
offender is maybe code like this
watcher.async.add(cast[ptr ev_async](ev_async.new())) # GC is free to free
this object whenever it want to, ``ptr``'s are not traced
Why not use Nim's asynhttpserver?
