Currently one needs to compose the request body and boundary when using content-type multipart/form-data. HttpCommand should be able to generate a boundary on the fly and populate the body. Use the curl standard for embedding files when there is a file= element by doing an upload when the file name is prefixed by '@' and just embedding the octet-stream when the file name is preceded by '<'.