I am going to play devil's advocate for a moment.
Physicians aren't experts in everything (we sometimes pretend that we are, alas). GP's need to have a broad base of general understanding so that they can refer people to appropriate specialists when required. But very few GPs are going to know much about socialization disorders. Further, it is not uncommon for young gay people to have socialization problems because our awareness of the difference in our sexuality creates a barrier between us and our peers. From a medical perspective, I think the question was a perfectly proper one.
As for the advice, that's a harder issue. I am often reluctant to substitute my own opinion for another physician's unless I have access to the same, or better clinican information. Sometimes the best medical advice is to do nothing. When dealing with an adolescent who is presenting a generalized, non-specific anxiety, sometimes it is preferable to do nothing formal, because formal therapeutic advice, such as a referral to counselling, can involved parents and guardians in circumstances that turn out to be transient or can create a treatment record that will do more harm than good in the long run.
Take some time to think back to what you actually told the doctor. Were you honest enough about your circumstances to demonstrate to him that this was a significant problem warranting action? Or did you present a lukewarm, vague set of circumstances?
_________________
--James