First whack of fixing epoll.
Close socket on error or HUP. Because we're closing sockets on these conditions we no longer need to call delete_stream() at the higher levels. Trap socket errors upon VM connection to avoid tracebacks. Remove logging.