use an array of lines instead of a concatenated string.

This is a huge perf win when dealing with ridiculously overly long
requests.