[OLINGO-284] Fixed content length calculation