adding content length to proxied api resonse