std:std.socket.Socket.Connect
Creates a connected socket.
Attempts to connect to the host at hostname
and service at service
and returns a new connected socket if successful.
The socket type
should be SocketType.Stream (the default) is connecting to stream server, or SocketType.DataGram if connecting to a datagram server.
Returns null upon failure.