atscppapi: fix for TS-2777 - using content length from correct header