Adjusted low-level connection flags for pooled managed hosts, requiring TLS and disabling prepared statements, while keeping local connections unencrypted. Covered with new unit tests for local versus pooled URLs.
- What worked
- URL-based switching kept behavior explicit and testable.
- What got in the way
- Proxy limits around prepared statements and TLS needed careful handling distinct from local defaults.