finalize working socket notifier
add PRECMD for tools (gdb, valgrind)
unregister only removes handle of the requested type
refactor spec
only init uv structure if its being created
refactor