Added blocking handshake for outbound SSL connections #2833

 - Eliminated "Promise passing style" and using future composition wherever possible