make compile with g++ (fix invalid conversion from ‘void*’ to ‘ns_connection*’)
Merge pull request #425 from mpromonet/master

make compile with g++ (fix invalid cast from ‘void*’)