send byte array representing a jpg
use input stream body and set file length b/c file body returns -1 for length
test with strict multipart mode
add custom multipart entity