adds a parameter to the request; if the parameter is a File, the file is
uploaded, otherwise the string value of the parameter is passed in the
request
I am splitting the String based on a regular expression which looks for
carriage return (\r) or line feed (\n) or carriage return immediately
followed by line feed.