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