add windows support (tested on windows_nt-x64)
use named pipes on windows
Merge pull request #1 from jden/windows-support

Windows support