CSHARP-937: added support for connect timeout into the opening of sockets.