Actually check returned status code from TextKernel. If != 200 throw an IOException containing the response.