add x-forwarded-xxxx support