code: func newSecure(next http.Handler, headers config.Headers) *secureHeader {
  	opt := secure.Options{
  		BrowserXssFilter:        headers.BrowserXSSFilter,
  		ContentTypeNosniff:      headers.ContentTypeNosniff,
  		ForceSTSHeader:          headers.ForceSTSHeader,
  		FrameDeny:               headers.FrameDeny,
  		IsDevelopment:           headers.IsDevelopment,
  		SSLRedirect:             headers.SSLRedirect,
  		SSLForceHost:            headers.SSLForceHost,
  		SSLTemporaryRedirect:    headers.SSLTemporaryRedirect,
  		STSIncludeSubdomains:    headers.STSIncludeSubdomains,
  		STSPreload:              headers.STSPreload,
  		ContentSecurityPolicy:   headers.ContentSecurityPolicy,
  		CustomBrowserXssValue:   headers.CustomBrowserXSSValue,
  		CustomFrameOptionsValue: headers.CustomFrameOptionsValue,
  		PublicKey:               headers.PublicKey,
  		ReferrerPolicy:          headers.ReferrerPolicy,
  		SSLHost:                 headers.SSLHost,
  		AllowedHosts:            headers.AllowedHosts,
  		HostsProxyHeaders:       headers.HostsProxyHeaders,
  		SSLProxyHeaders:         headers.SSLProxyHeaders,
  		STSSeconds:              headers.STSSeconds,
  	}
  
  	return &secureHeader{
  		next:   next,
  		secure: secure.New(opt),
  	}
  }
docs: // newSecure constructs a new secure instance with supplied options.