Fix UNIX socket tests on iOS