Proxying requests to other systems
SO_LINGER
to 0 and thus
preventing the TIME_WAIT
state being entered. Typically causes a
“Connection reset by peer” type error to be thrown by the client.
Note: this only seems to work properly on *nix OSs. On Windows it will most
likely cause the connection to hang rather than reset.
This would allow you to check that your client closes all resources
appropriately in response.