Added the necessary code for handling the XFF header configuration