four bytes header len decoding ok