Update version number and references

Don't update HISTORY.md or the code coverage stats yet, as the new draft
isn't actually out yet!
Simplify frame length serialization/deserialization
Remove debugging code