Use a more specific env variable for insecure transports

Fixes #248