Windows anonymous pipes have no non-blocking mode, so read_message could
block forever ignoring the stop token and the I/O deadline. Wait for
readable data with PeekNamedPipe (honouring cancellation and the timeout)
before the blocking read.
The stdio transport tests now use CRT pipe helpers on Windows; the framing
test runs everywhere and the cancellation test covers the cancellable read
on both platforms (the non-blocking-write half stays POSIX-only).