client socket and connects it to the given
<code>host</code> on port <code>port</code>. The returned Future will complete with a
<a href="dart-io/SecureSocket-class.html">SecureSocket</a> that is connected and ready for subscription.</p>
<p>The certificate provided by the server is checked
using the trusted certificates set in the SecurityContext object.
The default SecurityContext object contains a built-in set of trusted
root certificates for well-known certificate authorities.</p>
<p><code>onBadCertifica