Add support for Content-Length in background_fetch config