Support restarting the input stream for a protocol