Only send Content-Length: 0 even if "data" is None.

Fixes LIBCLOUD-390.