Changed
- Fixed handling of socket timeouts when trying to recover nickname
- The socket is now closed if there's a connection timeout while writing data since the socket may have partially written data.
- Removed use of the deprecated
socket.error
socket.error