@contextmanager<EOL><INDENT>def http_client(self, host=None, port=None):<DEDENT>
host = host or self.get_IPv4s()[<NUM_LIT:0>]<EOL>port = port or self.get_ports()[<NUM_LIT:0>]<EOL>yield HttpClient(host, port, self.http_session)<EOL>
allow requests in context -- e.g.:

.. code-block:: python

    with container.http_client(port="80", ...) as c:
        assert c.get("/api/...")


:param host: str, if None, set self.get_IPv4s()[0]
:param port: str or int, if None, set to self.get_ports()[0]
:return: instance of :class:`conu.utils.http_client.HttpClient`