added binary encoding and decoding for multiple macaroons

I think the error should indicate that the packet is too long somehow.