The concept of "market rate" assumes that developers are a commodity -- which I guess, in the consulting business, is supposed to be that way. However, in my opinion, with a good network (to the point that you regard them as friends), you can be far from commodity. Your friends knows your skills. Your friends works well with you. There is some loyality in the relationship. And hence, market rate rarely applies.