Added protocol header little endian support