Use errno instead of error strings
Use errno instead of error strings

Errors strings might be localized. In case of non english error messages (that's our case), `EAGAIN` and `EINTR` were not correctly detected and caused client to fail with an exception.
php-amqplib/php-amqplib,videlalvaro/php-amqplib