There is an undocumented method that allows users to accept new
connections asynchronously (prim_inet:async_accept then a few extra
calls after receiving the socket). This has been used by many people in
the past and we're going to look into using it for Ranch/Cowboy.
I wonder if it will remain in some form once the network code is moved
to use NIFs/dirty schedulers?