Server using web sockets to control mplayer