Merge pull request #1 from oberstet/master

make it build on Ubuntu 12.04 LTS
reserve space for stats so we don't malloc during the test
set close value for failed connections
fix stats for failed connections
add max_parallel_handshakes parameter
scons build