Add proxy support for x-forwarded-for header