docstr: Initialize a stream object and an HTTP or HTTPS connection
  with chunked Transfer-Encoding to server:port with optional headers.
docstr_tok: ["Initialize","a","stream","object","and","an","HTTP","or","HTTPS","connection","with","chunked","Transfer-Encoding","to","server",":","port","with","optional","headers","."]
code: def __init__(
      self,
      server,
      port=80,
      headers={},
      url="/",
      ssl_enabled=False,
      ssl_verification_enabled=True,
  ):
      """Initialize a stream object and an HTTP or HTTPS connection
      with chunked Transfer-Encoding to server:port with optional headers.
      """
      self.maxtries = 5
      self._tries = 0
      self._delay = 1
      self._closed = False
      self._server = server
      self._port = port
      self._headers = headers
      self._url = url
      self._ssl_enabled = ssl_enabled
      self._ssl_verification_enabled = ssl_verification_enabled
      self._connect()
  
imports: import http.client
  import os
  import ssl
  import time
  from io import StringIO
  from urllib.parse import urlparse, unquote
  from chart_studio.api import utils
label_desc: Use image node_id 1 to create a new Stream object  with example: obj = Stream(server, port, headers, url, ssl_enabled, ssl_verification_enabled)