Handle indefinite length CBOR, without supporting them yet

To be applied after Pull Request #2 is merged.