Add timeout param to SSLSocketChannel connect to include fixes in bug https://issues.apache.org/jira/browse/KAFKA-1733

Included changes made by this commit https://github.com/apache/kafka/commit/91f8ce7eff5c62c619454ad9d67415878805f600 to fix the bug https://issues.apache.org/jira/browse/KAFKA-1733