Move TrustedXFF class into its own file

Change-Id: I0eed5816841797d29b87d3c1964621b62ed7ac46