The Windows build is failing because client.rs doesn't define main
on non-Unixy platforms because of its `#![cfg(unix)]`. Merge
std-client.rs into client.rs to solve this and to reduce redundancy.
Continue using blocking stdin/stdout I/O on non-Unixy platforms until
we get nonblocking stdin/stdout working on those platforms.