Use rails parameter filter, if available

I whipped this up for me to allow more flexibility when filtering params. I also am filtering the headers too, which I think should be done in any event, especially since you are filtering on cookies but then sending them regardless in the Header section.