Allow cleartext communication with KAS in production
Summary
Currently GitLab (Rails) assumes that communication with KAS will use TLS in production mode, and plaintext otherwise. This is potentially incorrect in both cases - production doesn't necessarily need TLS, and we may want to configure it for debugging in dev/test.
Instead, inspect the configured KAS address to determine the strategy.