Automatic reconnect after the server dropped the connection.

The MPD server always drops connections after some time. Calling an MPD command thereafter used to cause an error to be raised. With this patch the error is caught and the connection is reestablished and the command is resent. So it appears as if the connection had not been dropped.