encoding for incoming data is unknown, so our buffer should be binary.
correctly set multipart param encoding