I soak my hop socks in starsan, but I guess boiling would probably be just as good/if not better.
Every beer I make, I use a large hop sock to strain the trub at the bottom of the boil kettle to get every last precious drop of beer (and keep proteins and hops out). I've never had an infection using the hop sock treated with starsan.