Fallback on gevent.socket.gethostbyname.

When gevent.socket.gethostbyname_ex is not present.