utils: Add upload of binary data function. Use the same format like from a html form object.