I wasn't going to do this until later, but I suddenly needed it, so I went ahead and did it.
putAttributes now allows you to pass an array of values for a single attribute, and it will automatically handle splitting it into multiple name-value pairs for the request.