Allow arbitrary buffer length in real time

closes https://github.com/mne-tools/mne-python/issues/1647

cc @LauriParkkonen 

It would be good if @mluessi can review since he is the original author :)