Make StreamProxy optional, prepareAsync for MediaPlayer, code fixups in StreamProxy