Allow remote connections to spectrogram demo

@stefanv, I would suggest to drop `debug` as well (or make it optional with `argparse`).