MPD socket IO reworked