Client in java for mplayer