Now uses strlen for content size instead of the version from the Google API code