adding the capability to set the secureProtocol options in the environment