Added a connection failed event in xmlstream