code: def construct(self, max_message_size, remote_name=None, python_path=None,
                    debug=False, connect_timeout=None, profiling=False,
                    unidirectional=False, old_router=None, **kwargs):
          
          super(Stream, self).construct(**kwargs)
          self.max_message_size = max_message_size
          if python_path:
              self.python_path = python_path
          if connect_timeout:
              self.connect_timeout = connect_timeout
          if remote_name is None:
              remote_name = get_default_remote_name()
          if '/' in remote_name or '\\' in remote_name:
              raise ValueError('remote_name= cannot contain slashes')
          self.remote_name = remote_name
          self.debug = debug
          self.profiling = profiling
          self.unidirectional = unidirectional
          self.max_message_size = max_message_size
          self.connect_deadline = time.time() + self.connect_timeout
docs: Get the named context running on the local machine, creating it if
          it does not exist.