Implement support for inserting x_forwarded_for header