Agent Mode has nothing output behind a corporate proxy

In my network, I need to disable HTTP/2 to perform Codebase Index, but this prevents the Agent from working. When I enable HTTP/2 again, the Agent mode has no output and shows connection failures. How should I handle this situation?

Cursor Agent only supports HTTP/2. You need to make these addresses accessible on your network, otherwise it won’t work.

Would using socks5://proxy instead of http://proxy solve the Agent issues?