Update http.lua

if headers contains a type of table value,not only cookie but also others.
"h = i .. ": " .. v .. "\r\n" .. h" will be occured error
Update http.lua

When setting "Set-Cookie" twice, and need special treatment. Otherwise we can only set up the first.
Merge pull request #13 from clareSun/master

http.lua solve the exception types