tested: added bootstrap to set preconditions
Tested: added base test case to centralize often used methods'
Tested: added reference to bootstrap file to PHPUnit configuration
Tested: adde more tests to ensure correct functionality in differnet situations.
Added class files to the composer autoloader
Minor refactoring to handle errors caused by retrieving a socket connection.