def init_client(self, client, headers={}):
        ssl_context = ssl.create_default_context(cafile=certifi.where())
        conn = aiohttp.TCPConnector(ssl=ssl_context)
        if client:
            self.client_owned, self.client = False, client
        else:
            self.client_owned, self.client = True, aiohttp.ClientSession(
                connector=conn,
                headers=headers,
                skip_auto_headers=["Content-Type", "User-Agent"],
            )