* Fix#5128, #5184.
Removed flush() procedure from ioselectors.nim
Changed methods of work with application-driven data
* Make cache switch for kqueue, update test for it.
* Fix registerProcess bug returns wrong id.
Fix tupcoming_async test to compile with upcoming again.
Change socket() as unique identifier to dup(socket) as unique identifier.