fn read_length(bytes: &[u8]) -> Result<(usize, usize), ServiceError>
Reads a BER length, returning the length and the number of octets it took.