Adds connection timeout setting

 * explicit tests for non responding socket connections, wrong Port and wrong IP connections.
 * adds PHP 5.6 to test matrix.