Investigate how long proxy sockets hang around in CLOSE_WAIT
While investigating #188 (closed) while using Tor Browser over Arti, and looking at Arti with lsof, I found that we often had a bunch of sockets in state CLOSE_WAIT. We should make sure that we're closing our proxy sockets at the correct time in response to getting a close from the application.