def _add_client(self, url, key=None, secret=None):
if "<STR_LIT>" in url:<EOL><INDENT>server, endpoint = self._deconstruct_url(url)<EOL><DEDENT>else:<EOL><INDENT>server = url<EOL><DEDENT>if server not in self._server_cache:<EOL><INDENT>if not (key and secret):<EOL><INDENT>client = Client(<EOL>webfinger=self.client.webfinger,<EOL>name=self.client.name,<EOL>type=self.client.type,<EOL>)<EOL>client.set_pump(self)<EOL>client.register(server)<EOL><DEDENT>else:<EOL><INDENT>client = Client(<EOL>webfinger=self.client.webfinger,<EOL>key=key,<EOL>secret=secret,<EOL>type=self.client.type,<EOL>name=self.client.name,<EOL>)<EOL>client.set_pump(self)<EOL><DEDENT>self._server_cache[server] = client<EOL><DEDENT>
Creates Client object with key and secret for server
        and adds it to _server_cache if it doesnt already exist