Simplified the connect error mode. The previously documented behavior was observed experimentally on Linux & Windows, but could get us into trouble when another platform doesn't obey these guidelines.
Clarified that calling shutdown multiple times should be idempotent.
connect
error mode. The previously documented behavior was observed experimentally on Linux & Windows, but could get us into trouble when another platform doesn't obey these guidelines.