Fix pipes for Windows

* Wrap pipes functionality with UDP socket for Windows