added NUL to protocol. Seb, replace 0x0 with NUL