windows: Provide a read(2) wrapper that uses recv(2) on sockets