Core: retry connection on ResourceVanished

MPD connections time-out on inactivity, resulting
in resource vanished exceptions when the client
tries to use the connection.
"Fix" the problem by automatically attempting a
re-connect if a send operation fails with a ResourceVanished
exception.
Merge branch 'resource-vanished'