If server is working on standard C string then 0x00 may be a problem.