Minor clean up
Multiple times the same cookie : consider the value of the last one
Merge pull request #956 from nremond/double_cookies

Multiple times the same cookie : consider the value of the last one, fix for #954
Minor clean up
Add Connection to common headers, close #957
By default, make connections per user instead of a global pool, close #958, close #900