Bug fix - the content type header sent by httpclient may be NULL.