I don't stay out in the danger zone.
It's actually safer a meter or more from the curb. Cars will entirely change lanes rather then squeeze through, and they tend to avoid rear ending you as well. A few upset drivers, but I can live with that. Being thrown off a bike while doing about 35km/h isn't fun simply because someone wanted to get to the next red light 15 seconds faster by doing 40km/h.