Add async Content-Length computation when using form-data

Related to #345 #396 #522