add default signal handlers
fix
inc counter
add make sock non-blocking in _transfer