Fix "host cannot be resolved test" test

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