Add support for x-forwarded-for and x-forwarded-proto