Merge pull request #27 from avatarer/master

getaddrinfo uncaught exception fix
merge pull request to die gracefully when server is unreachable
Merge pull request #1 from claudiowilson/master

am i correctly understood github?