I try to be as courteous and considerate to cars as possible. I think it is just right to try to be nice to others, and, in addition, I do not want cars be angry at me in particular or bicyclists in general.
Riding to the far right is an invitation to pass. That is what I do whenever there is enough room. When there is not enough room for safe passing, then I ride to block the lane. Then as soon as there is room, I move to the right and wave the cars to pass.
Doing this I have never once had a car honk at me or pass dangerously close.