Reworked Stream::isAvailable() and Stream::isAcceptingData(), to resolve a compatibility issue with Linux that was causing Travis-CI to hang;
Added PHP 5.6 to Travis-CI;
Changed test so that a failure stops them (to hopefully avoid other sorts of hangs).