Use rawmemchr() instead of strchr() to find end of string
Add connection to death queue immediately after creating a new coro
Get rid of ``i'' variable in _thread_io_loop()