Added content-length header for json data (STOX-26)