Merge "Specify a timeout for the connection handshake" into jb-mr1.1-dev