added a 3 secs timeout to avoid thread blocked when we have a problem
with redirection
Merge branch 'master' of git://github.com/collective/collective.xmpp.core