Making $client consistent. Adding elseif. Skipping hashing if there's only 1 client.
Changing persistence regex for tcp:// connections. Adding getPersistence method. Removing tcp:// connection conversion from connect to the constructor. Adjusting tests accordingly.