Fix "host cannot be resolved" test

## Introduction
On my machine (`Ubuntu 10.04 LTS`), gai_strerror function (https://github.com/redis/hiredis/blob/master/net.c#L266) generates "No address associated with hostname" error message, when the hostname cannot be resolved.