Make decoding of hdr user data dependent on srl_read_header input

No need to do it every time whether needed or not.
Expose decoding header outside srl_decoder.c