avoid test suites failed with Fatal error when sockets extension is not available
Merge pull request #412 from llaville/master

avoid test suites failed with Fatal error when sockets extension is not available