plugins/headers-fix.js
function init (router) {
  router.use((err, req, res, next) => {
    res._headers = res._headers || {}

    next(err)
  })
}
function init (router) {
  router.use((err, req, res, next) => {
    res._headers = res._headers || {}

    next(err)
  })
}
function init ( router ) { router . use ( ( err , req , res , next ) => { res . _headers = res . _headers || { } next ( err ) } ) }
workaround for missing headers after hijack
@param router
workaround for missing headers after hijack