class_docstr: Methods of the server object can be called transparently. Exceptions are
  re-raised.
class_docstr_tok: ["Methods","of","the","server","object","can","be","called","transparently",".","Exceptions","are","re-raised","."]
code: def __init__(self, HOST, port=PORT, v6=False):
      socktype = socket.AF_INET6 if v6 else socket.AF_INET
  
      sock = socket.socket(socktype, socket.SOCK_STREAM)
      LOG.info(
          "connecting to %s:%d, socket type: %s", HOST, port, socktype
      )
      sock.connect((HOST, port))
      self.sock = sock
      self.fs = FileSock(sock)
  
imports: import os
  import pickle
  import sys
  import _thread
  import traceback
  import socket
  import logging
label_desc: Use image node_id 1 to create a new Client object  with example: obj = Client(HOST, port, v6)