Revert "Fixed Bug #64340  (sockets tests failed) Patch by Reeze"

build break, will only leave the test script fix first

This reverts commit f2246f352fc01295c370728d68a9bcd2bb546652.
Skip test on Apple
Merge branch 'PHP-5.5'