Set correct clientIp when using a proxy server with x-forwarded-for
Merge pull request #361 from SkareCrow/clientip-fix

Set correct clientIp when XFF header is present
Allow setting of "secure" cookie attribute when using HTTPS. Closes #349 and #350
Merge git://github.com/socketstream/socketstream