can now connect to a remote or local host via a tcp stream socket.