Iterator API improvements

Rework code point iterators and add byte iterators.  This vastly simplifies SASL protocol implementation (see the example changes to PlainSaslServer).