Add connect_timeout to Stream.connect method.
See merge request !6504 (merged)
(cherry picked from commit 422d6208)
9276efab Add connect_timeout to Stream.connect method. 0536ffdd Catch connection timeout when start stream. ce630826 Fix config timeout.