Guard against null getResponseHeader('content-type') in clientSync

From browser restrictions, jquery throwing a parseerror from malformed JSON, etc.