Yet another winsock hack

I think the previous hack almost worked - looks like it fixed the
problem for one cpp file anyway.  Moving my hack over to the header file
that both RemoteJobManager and FacilityInfo include...

Refs #7769
Merge branch 'feature/7769_NewRemoteAPI' into develop