Update to new TcpStream constructor method.