mpd_controller: implemented context managment protocol.