Merge pull request #56 from cyrille-leclerc/master

Ensure the the hostname -> ip-address DNS resolution is done every time a socket is created