pts-core: Check for PHP Sockets support