Get rid of unused {read,write}_message() functions.
Shrink send-buffers to ssh sub-processes.

This is an attempt to detect remote failure in a more timely manner.
Fix a bug in the shutdown path.

Don't try to disconnect already-disconnected remotes.
Add -oConnectTimeout=2 to default ssh arguments.