start of decode modifications for v5 spec
handle strings and arraybuffers correctly, implement ext types
reformatted, added test for larger arraybuffer