Improve DNS/connection timeouts processing
Improve DNS/connection timeouts processing

Ignore DNS/connect timeout if it's bigger than remaining time left to
establish an XMPP stream. Thus we strive to guarantee that the whole
negotiation time is never longer than the one set in stream_timeout.

processone/xmpp,weiss/xmpp,processone/xmpp,weiss/xmpp