issue6817: Copy as cURL - fix multipart request

- introduce NetUtils.removeBinaryDataFromMultipartPostText()
- tests