I think the controller was being most unhelpful. He should have offered to vector you clear of the conflicting traffic, or at least asked you if you would like de-confliction instead of traffic service having already given you a heading to avoid the military airfield. To say what he said and leave you 'in the dark' was most unprofessional.
Personally I used to offer all IFR inbounds routing through class G airspace a de-confliction service (or RAS as it was in those days - I retired just before the 'new' services started) as the initial intention was always to vector them onto the ILS.