EnvHttpProxyAgent incorrectly handles target TLS options when selecting routes based on `HTTP PROXY`, `HTTPS PROXY`, and `NO PROXY` environment variables. Specifically, options provided via `requestTls` are ignored during direct requests, and options provided via `connect` are ignored during proxied requests. This causes the TLS connection to the target to bypass application-specific settings such as `ca`, `checkServerIdentity`, `servername`, client certificates, or `rejectUnauthorized`, falling back to the default trust store and hostname check. This inconsistency allows an attacker with a publicly trusted certificate for the target host to intercept connections that the application intended to pin or restrict to a private CA.