I've begun writing letters, like actual paper letters to 3 people whenever I run into an unprofessional CBP officer. I use CBP.gov to get the Port Director & the Professionalism Services Manager name, and send it to the PD c/o the PSM. Then I CC: Assistant Commissioner for Field Operations (which all airports fall under). It's short, one paragraph and I state usually something to the effect of "the total interaction was under 30 seconds, but I found him hostile, unprofessional and _______". I then go on to state I sign the letter anonymously, for fear of retaliation. I don't know about you, but if somebody sent a letter about me to the VP of my division as well as my director and the HR person - I'd certainly take it seriously.