Handle last stream protocol ID

This brings notaol in line with penggy as to how the last protocol ID is handled. (The ID is initialized at zero and is kept per-stream).