"Fixed invalid variable reference in socket error handling"

[Code cleanup](https://github.com/RuudBurger/CouchPotatoServer/commit/799299c7ccc63e02bd958e0562a251814a094cef) changed the assigned name of a socket.error, but the old name is still referenced in the code, causing a fatal error when CouchPotato tries to log socket issues.