Pass through Content-Length if explicitly set

If the content length isn't passed through to curl then the `Transfer-Encoding:
chunked` header is unconditionally added which is not always desirable.