Simplified socket error handling

Improves detection of graceful RCON connection shutdowns.

See koraktor/steam-condenser#239