Re-port changes for Windows
Merge pull request #28 from cro/winmailslot

Re-port changes for Windows.  Do not merge yet, still a WIP