Test php sockets connection.