remove coding conversion from main network process

  This fixes a serious bug on windows in which the required \r\n line
  endings were being automatically converted to a single \n.  Thanks to
  thesoftwarebin on github for identifying and diagnosing this problem,
  and then confirming the fix.