Added named pipes support

This branch replaces unix sockets with named pipes on windows.