sends proper content-length through proxy requests