refined echo server
stream::assign and acceptor::close
use acceptor