Default to sending only for HTTPS in production

but not for development and test.