Rename `isSecure` to `isEncrypted` at `env.request`.
Improve forwarded protocol detection. Use new `forwarded` config option.