Fixes cases where an empty opts.data results in params containing a single empty string,
causing "undefined" to show up in the post body, eg:

--------multipartformboundary1361198653141
Content-Disposition: form-data; name=""

undefined