I've just pulled everything from Taylan's latest pull request and published it as draft #5 (code changes only).  Here are comments from his summaries:

This is only a minor change to the reference implementation.  I believe no new draft is necessary?
Second commit is also just a bugfix to the reference implementation.
And a third commit, again a bug fix, although this time more involved.

I'll write a test-suite next...