files larger than 64MB must be chunked

Also fix that parameters were not url encoded.

Should figure out how to drop the HTTP dependency in a future version.