As I've already told, I refused from original idea, but in any case, such thing may be useful. There are some features in erlang, that are undocumented, but required for normal work, such as prim_inet:async_accept.