LOLs... do you know why roadside encounters are "especially hazardous?" Because cops step out into the travel lanes and are hit by passing vehicles. The threat of bodily harm to an officer by any other source is statistically insignificant when compared to his own propensity to step out in the street before looking both ways.
That aside, with the attitude you're showing here, I'm not surprised that the copy treated you like an asshole.
If you feel like your rights were violated, get an attorney. If you want out of the ticket, get an attorney.