Refactor Connection class in redis-subscriber component to use Socket… (#601)
* Refactor Connection class in redis-subscriber component to use SocketFactory for creating the client socket
* Refactor Connection class in redis-subscriber component to use SocketFactory for creating the socket
* Skip inactive tests in FunctionsTest and SleepTest
* Revert "Skip inactive tests in FunctionsTest and SleepTest"
This reverts commit 884ddf9b941c8af41bfda82704dc904e05721042.
* Refactor CommandInvoker.php and Connection.php to improve Redis subscriber functionality
* Update phpunit.xml.dist
* Refactor test method name in CommandBuilderTest to improve clarity
* Refactor test method name in ClientFactoryTest to improve clarity
* Fix exception handling in ClientFactoryTest
* Skip testHostNotReached in ClientFactoryTest and testRetry in FunctionsTest
---------
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>