def __init__(self, host="localhost", port=1080, protocol=socks.SOCKS5): self.host = host self.port = port self.protocol = protocol