Where do I post code for help with a large (29K) NTP/UDP and TCP/ip sketch

Changing 'if (client.findUntil("thermostat","\n\r")){'

to 'if (client.findUntil("thermostat","\r\n\r\n")){'

Hasn't made any difference

Then, clearly, the thing to do is to stop trying to actually use the data until you know what the data looks like. Forget about trying to use the data. Simply print it to the serial port, in multiple formats - char and hex. Only AFTER you KNOW what the data looks like can you successfully parse it.