MPD protocol: fix upgrading protocol ignoring part of the buffer

closes #146

Also fixed a crash when setting consume on/off