I ride the way you do, and I agree. If you feel threatened in any way for driving too close to the curb, I do not think you are reaking any law if you think you'll be safer(by avoiding debris and car doors, preventing cars from buzzing you, etc), I think you're not doing anything wrong at all.