fix: allow calling setCookie() multiple times

Setting multiple cookies by separating them with a newline didn't work for me. Node's http.request supports multiple headers by passing an array, so I used that solution.