Stream
Constructs a socket to connect to addr (you still need to call open()) or a server on localhost.