- IOException are now fatal for the session.
refactor to handle the 'keep-alive' feature properly.