CA-102753: Loosen requirement for content-length HTTP header on import.

There are times when we cannot know this ahead of time and so this should be an
optional argument.

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>