Implement node style net module.
Merge pull request #1118 from Gozala/hotfix/net-io

Bug 820953 - Implement node style net module. r=@Mossop