debug log http exception and xmpp message sending