TCP optimization is happening for HTTP/HTTPS traffic even if it is disabled on the server side.
The Windows client keeps using two TCP connections, one between client and gateway and another between gateway and end server.
More information how TCP Optimization works can be found on: Add a Private Network