I do basically what socket_strerror does. I just went with the old line and changed `getError()`to `getLastError()`

I get in both, hhvm 3.0.1 and compiled after this change

    Warning: Host lookup failed [-10001]: Unknown error -10001

with empty $errno and $errstr both NULL.

So my patch doesn't change anything there.