Don't send Content-Length header if len(data) == 0 and default all data
arguments to None.
Update affected test and mockhttp class.
Update changes.