yaws_session_server:print_sessions/0 not working due incorrect message
Merge pull request #155 from mdaguete/session_server_fixes

yaws_session_server:print_sessions/0 not working due incorrect message
When max connections were reached and we attempt to close the socket, it was assumed we had a TCP socket, crashed on SSL sockets
Merge branch 'master' of github.com:klacke/yaws
Incorrect X-Forwarded-For header

When X-Forwarded-For header appears multiple times in a request only the
last value is supplied by yaws_api:headers_x_forwarded_for/1.

RFC 2616 section 4.2 permits multiple headers with the same name as an
equivalent of one header with a comma-separated list of values.

http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2

Pound loadbalancer ( http://www.apsis.ch/pound ) repeats the header.

Change yaws to collect all values for this header and present them as a
single comma-separated list. Add a regression test to test/t2.
Redhat /etc script bug fix by flavio-fernans
Install procedure for FreeBSD wasn't correct
Fix a bug about log rotation. yaws_logger:do_rotate/2 was buggy.