Add nio.ByteBuffer deserialization, and a WRAP counter.
Make MAX_MESSAGE_SIZE public.