Something like `secure: (process.env.NODE_ENV === "production") ? true : false` or a configuration option ?