Updated test Composer dependencies and added Phake
Refactored tests to use Phake and code to allow Phake to be used
Added missing ConnectionInterface typehints
Added connect.end event
Moved test message data to a property into ClientTest