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