Just some testing to encode arraybuffers. Needs fixing and generalization to other binary stuff

Changed b64 protocol