export setConnectionClosedHandler
move SessionConfiguration to Network.Xmpp.Concurrent.Types
add Finished state to ConnectionState
change loggers in Network.Xmpp.Tls to log to Pontarius.Xmpp.Tls (was Pontarius.Xmpp)
remove duplicate export of InstantMessage in Network.Xmpp.IM
rename sessionClosedHandler configuration option to onConnectionClosed
fix documentation type in Network.Xmpp.Types
reinstate withConnection and fix closeConnection
allow read Worker to close streams on read failure and prevent it from stopping itself in this case
run connectionClosedHandler on calls of closeConnection
fix log messages in Network.Xmpp.Stream (XMPP => Xmpp)
add a test case for closed connection
Merge branch 'master' into upstream