Bug 849078 - Change SetNonblockFlags to SetSocketFlags; r=echou

--HG--
extra : rebase_source : 495444e95cb6fef3cdae4606879b2f2fba812c24
Bug 843958 - Fix compiler warning for SCO not handling LM; r=echou
Back out d39b5acb8d83 and cf778a07299d (bug 847120) for Windows build bustage