Add support for parameters that have newlines in them.

If a parameter has line breaks in it, the library just strips the white-space and joins the string together. 

This change adds support for parameters that have newlines in them.

Not sure if this is an in-spec change, but here it is in case you are interested in it.